- ニフティクラウド上のサーバはローカルにbindを立てており、それをnameserverとして参照しているが、mackerel-agent(golangのnetパッケージ?)はローカルのbindを参照してくれない。
sudo su -
/etc/init.d/bind9 stop
insserv -r bind9
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 |
#!/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 |
# /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 |
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; |
--- 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, |
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. | |
+# |
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 |
diff -ur zabbix-2.4.2.orig/conf/zabbix_proxy.conf zabbix-2.4.2/conf/zabbix_proxy.conf | |
--- zabbix-2.4.2.orig/conf/zabbix_proxy.conf 2014-11-05 17:01:41.000000000 +0900 | |
+++ zabbix-2.4.2/conf/zabbix_proxy.conf 2014-11-26 19:31:57.845332122 +0900 | |
@@ -312,6 +312,14 @@ | |
# Default: | |
# VMwareFrequency=60 | |
+### Option: VMwarePerfFrequency | |
+# How often Zabbix will connect to VMware service to obtain performance data. | |
+# |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:prefs.cc(54)] certificate-report-to-send-update not present in /var/lib/update_engine/prefs | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:prefs.cc(54)] certificate-report-to-send-download not present in /var/lib/update_engine/prefs | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:WARNING:libpolicy.cc(29)] Could not load the device policy file. | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:update_attempter.cc(195)] No device policies/settings present. | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:update_attempter.cc(239)] Scattering disabled since scatter factor is set to 0 | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:prefs.cc(54)] aleph-version not present in /var/lib/update_engine/prefs | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:INFO:omaha_request_params.cc(61)] Current group set to alpha | |
Nov 26 02:17:04 localhost update_engine[458]: [1126/021704:I |