Nagios mysql configuration


#1

Hi,

I have added host to hosts.cfg file, and added hosts to services.cfg in mysql configuration,
but whenever i monitor that it shows unknown error. that " Usage:check_mysql -d database] -H host] -P port] -u user] -p password] -S] "

I am not getting what to do.
Please let me know what should i do to solve this problem.


#2

looks like something in the check_mysql syntax is missing/wrong. Make sure the command is getting passed the right parameters in the right order


#3

Thanks for reply.
May i know where can i check it?