This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=$1 | |
VAGRANT_CLOUD_TOKEN=$2 | |
TYPE=$3 | |
FLAG=1 | |
while [ $FLAG -eq 1 ] ; do | |
PACKER_LOG=1 packer build -var "version=$VERSION" -var "cloud_token=$VAGRANT_CLOUD_TOKEN" -only="$TYPE"-iso template.json | |
FLAG=$? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git etc/vmware-tools/scripts/vmware/network.orig etc/vmware-tools/scripts/vmware/network | |
index 874744f..72dbb96 100755 | |
--- etc/vmware-tools/scripts/vmware/network.orig | |
+++ etc/vmware-tools/scripts/vmware/network | |
@@ -21,7 +21,7 @@ | |
# | |
# network (Linux) | |
# | |
-# Using a combination of a system networking script, ifconfig, and ifup, | |
+# Using a combination of a system networking script, ifconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
########################################################## | |
# Copyright (C) 2001-2010 VMware, Inc. All rights reserved. | |
# | |
# This program is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published | |
# by the Free Software Foundation version 2.1 and no later version. | |
# | |
# This program is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-elasticsearch | |
Building native extensions. This could take a while... | |
ERROR: Error installing fluent-plugin-elasticsearch: | |
ERROR: Failed to build gem native extension. | |
/usr/lib64/fluent/ruby/bin/ruby extconf.rb | |
checking for curl-config... yes | |
checking for rb_thread_blocking_region()... yes | |
creating Makefile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u 2.2/src/zabbix_server/vmware/vmware.c 2.4/src/zabbix_server/vmware/vmware.c | |
--- 2.2/src/zabbix_server/vmware/vmware.c 2014-10-27 16:35:30.708268540 +0900 | |
+++ 2.4/src/zabbix_server/vmware/vmware.c 2014-10-27 14:48:30.256956558 +0900 | |
@@ -48,13 +48,11 @@ | |
* which is the most time consuming task. | |
*/ | |
-/* external variables */ | |
-extern unsigned char process_type; | |
-extern int process_num; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 2.4/src/zabbix_server/poller/checks_simple_vmware.c 2014-10-27 14:48:30.232956561 +0900 | |
+++ ZBXNEXT-2354/src/zabbix_server/poller/checks_simple_vmware.c 2014-10-27 15:47:37.704576458 +0900 | |
@@ -179,30 +179,74 @@ | |
return cluster; | |
} | |
- | |
-static int vmware_counter_get(const char *stats, const char *instance, zbx_uint64_t counterid, int coeff, | |
- AGENT_RESULT *result) | |
+static int vmware_service_counter_get(zbx_vmware_service_t *service, const char *type, const char *id, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur zabbix-2.4.1.orig/conf/zabbix_proxy.conf zabbix-2.4.1/conf/zabbix_proxy.conf | |
--- zabbix-2.4.1.orig/conf/zabbix_proxy.conf 2014-10-08 15:58:58.000000000 +0900 | |
+++ zabbix-2.4.1/conf/zabbix_proxy.conf 2014-10-28 19:19:43.501952068 +0900 | |
@@ -312,6 +312,14 @@ | |
# Default: | |
# VMwareFrequency=60 | |
+### Option: VMwarePerfFrequency | |
+# How often Zabbix will connect to VMware service to obtain performance data. | |
+# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-11-11 06:40:59 +0900 [warn]: temporarily failed to flush the buffer. next_retry=2014-11-11 06:40:39 +0900 error_class="Faraday::ConnectionFailed" error="couldn't connect to host" instance=23809616679100 | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/patron-0.4.9/lib/patron/session.rb:182:in `handle_request' | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/patron-0.4.9/lib/patron/session.rb:182:in `request' | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday/adapter/patron.rb:33:in `call' | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:139:in `build_response' | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday/connection.rb:377:in `run_request' | |
2014-11-11 06:40:59 +0900 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/elasticsearch-tra |