i'd like to monitor if mysqld is running.
i tryied to do this with
but mysqld.pid cannot be read by zabbix user.
Any ideas on how to monitor mysqld (or any other daemon)
cheers
i tryied to do this with
Code:
UserParameter=process.mysql,ps -ef | grep -v grep | grep `cat /var/run/mysqld/mysqld.pid`| wc -l
Any ideas on how to monitor mysqld (or any other daemon)
cheers
Comment