I need to get a warning when there is a problem with my zabbix-server. I use Hyperspin to check if zabbix-server is running. However when MySQL is shutdown the zabbix-server keeps running even though it's not processing data. Can I somehow setup a notification when this occurs?
Ad Widget
Collapse
How can Zabbix-Server monitor itself?
Collapse
X
-
I have one monitoraccount (I use siteuptime.com) to monitor the zabbix server. I do that on port 10051. As soon as the zabbix server is down I get a SMS or Email message. Works great.
And zabbix monitors all my other servers :-)
Hmm... now I read your question better this is not an answer for you... -
I am using sec parser to check if "server stopped" occured in the zabbix_server.log. It can even restart the server if wanted. Works fine so far.
Sec Parser: http://sixshooter.v6.thrupoint.net/S...s/article.htmlComment
-
You can also write a small script that runs from cron, and queries the Zabbix MySQL DB to get the timestamp for the latest created data value. Compare that with the current time on the machine, and send out an email if the difference is larger than say 100 seconds.
That way you ensure that both MySQL is working, and Zabbix is actually logging data.Comment
Comment