hi all
inside template mysql there are few items and triggers and of them I particularly useless. But sure is because there is something simply I did not understand.
Is this:
mysql.ping
this item gets the value of UserParameter
If mysql server is running ok it gets a 1. Host is ok, graphs working, perfect. But if your mysql server goes down this item gets:
item because unsupported and trigger is not updated. So I never get the mail of the action.


What I'm doing wrong here?
inside template mysql there are few items and triggers and of them I particularly useless. But sure is because there is something simply I did not understand.
Is this:
mysql.ping
this item gets the value of UserParameter
Code:
UserParameter=mysql.ping,HOME=/etc/zabbix mysqladmin ping | grep -c alive
Code:
mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! 0



What I'm doing wrong here?
Comment