You are here
Once in a while Zabbix graphs do not display any information
Mon, 2012-03-05 21:38 — oli
Hello
I have successfully installed and configured zabbix to work with your performance monitoring. However, every once in a while, the graphs in zabbix do not display any information. It seems when I invoke FromDualMySQLagent.pl things go back to normal. Do I need to setup a cron to refresh the data?
I have included the following line in /etc/zabbix/zabbix_agentd/userparameter_mysql.conf
:
UserParameter=FromDual.MySQL.check,/usr/local/mysql_performance_monitor/FromDualMySQLagent.pl /usr/local/mysql_performance_monitor/etc/FromDualMySQLagent.conf
Any recommendations would be most welcome.
Taxonomy upgrade extras:
Zabbix agent stopps working
It was working for a while,
FromDual.server.check does not exist.
Hi Oli, Thanks for replying.
[root@util-mysql0 zabbix]# more zabbix_agentd.log 2880:20120412:104635.151 Starting Zabbix Agent [util-mysql0.arw.pvt]. Zabbix 1.8.10 (revision 24303). 2882:20120412:104635.152 agent #0 started [collector] 2884:20120412:104635.152 agent #2 started [listener] 2885:20120412:104635.152 agent #3 started [listener] 2883:20120412:104635.153 agent #1 started [listener] 2886:20120412:104635.153 agent #4 started [active checks]
Here an exerpt of the mpm log in debug:2891:2012-04-12 10:46:56.905 - DBG : Check connection to zabbix server. 2891:2012-04-12 10:46:56.906 - DBG : /usr/bin/zabbix_sender --zabbix-server util-zabbix0 --port 10051 --host 'util-mysql0' --key FromDual.server.check --value '1' -vv zabbix_sender [2895]: DEBUG: answer [{ "response":"success", "info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000016"}] Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000016" sent: 1; skipped: 0; total: 1 2891:2012-04-12 10:46:56.911 - DBG : (ret=0). 2891:2012-04-12 10:46:56.911 - DBG : Connection to zabbix server seems OK. 2891:2012-04-12 10:46:56.911 - INFO: sendCachedData::sendCachedData 2891:2012-04-12 10:46:56.911 - DBG : Sending cache file to zabbix server. 2891:2012-04-12 10:46:56.911 - DBG : Cache file found.
It is obviously collecting data, etc. I'm wondering, could this have something to do with my zabbix configuration? Active vs. Passive?active vs. passive Zabbix Config
[root@util-mysql0 /]#
[root@util-mysql0 /]# /usr/bin/zabbix_sender --zabbix-server util-zabbix0 --port 10051 --host 'util-mysql0' --key FromDual.MySQL.mysql.version --value 'test version' -vv zabbix_sender [8896]: DEBUG: answer [{ "response":"success", "info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000017"}] Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000017" sent: 1; skipped: 0; total: 1
Must be Zabbix configuration. I meant the agent configuration, does it matter if it is active or passive? Something changed, but I'm not sure what at this point.active vs. passive Zabbix Config
Gr, the issue was definitely
Solved: host name was wrong
I apologize for the delayed
Some more troubleshooting
zabbix_sender failed
When active, FromDUal casuses zabbix agent to bug