Can any one tell how to monitor mysql using nagios and how configure plugins.
Have you installed nagios yet? Have you read the instructions?
What platform? What version? Which plugin(s)? Where are you having trouble?
I have Instaled nagios and configured with pluins.I strucked at
My command.cfg contains
‘check_mysql’ command defination
Command_line $USER1$/check_mysql -u $ARG1$ -p $ARG2$ -H$HOSTADDRESS$
In my service defination it
use local-service ; Name of service template to use
service_description MySQL Running
When I start nagios I got error Service check command ‘mysql_check’ specified in service ‘MySQL Running’ for host ‘localhost’ not defined anywhere
Can any one tell me solution.
Here are the steps to follow in order to achieve what you want: