If there is no mysql_check plugin after compiling and installing nagios plugins, you can follow the below shown steps:
For redhat, centos
1. Install mysql-devel in the server.
yum install mysql-devel
2. Now recompile nagios plugins with mysql plugin.
./configure --with-mysql
make
make install
For Debian,ubuntu:
For Debian and ubuntu distros, you can follow the guide here.
Now check the folder /usr/local/nagios/libexec/ or wherever you had installed nagios and you will find check_mysql plugin required for checking mysql service.






0 comments:
Post a Comment