Page 1 of 1

using check_mysql_health plugin

Posted: Wed Feb 27, 2013 8:42 am
by deepakitkar
Newbie here...

The MySQL plugin from Monitoring Wizard is missing few modes that check_mysql_health plugin. I am trying look all over the web to find a way to use specific modes from check_mysql_health and assign it to mysql servers. I am pretty new and little confused on how to do this. Should I Create a service for each mode? If I do that I will need to specify the HOST as well then it will not be used for other host, will it?

Thanks

Re: using check_mysql_health plugin

Posted: Wed Feb 27, 2013 11:56 am
by slansing
Could you elaborate just a bit more on what you mean by it's modes? Are you asking about how to check for specific metrics with the plugin by adding flags and values to the command? You may want to create multiple services for this if you have multiple things you would like to check. Can you provide an example?

Re: using check_mysql_health plugin

Posted: Thu Feb 28, 2013 7:03 am
by deepakitkar
I added one MySQL server to Nagios using MySQL plugin from monitoring wizard. The 6-7 parameters or should I say attributes that it displays aren't enough for me. So I wanted to include few extra parameters from this plugin "check_mysql_health" like tmp-disk-tables, sql etc. So I tried to create these services as an individual service from Core Configuration Manager but not sure how to do this. Do we need to hardcode HOST on the New Service page? How do we do it?

Thanks

Re: using check_mysql_health plugin

Posted: Thu Feb 28, 2013 11:12 am
by scottwilkerson
deepakitkar wrote:Do we need to hardcode HOST on the New Service page? How do we do it?
In the new service you create you would select the host to apply it to using the "Manage Hosts" button on the "Common Settings" tab

Re: using check_mysql_health plugin

Posted: Fri Mar 01, 2013 4:01 am
by deepakitkar
Scott - Thanks, Do we have a tutorial on setting this up, somewhere?

Re: using check_mysql_health plugin

Posted: Fri Mar 01, 2013 11:58 am
by abrist
Documentation for the check_mysql_health plugin can be found at:
http://labs.consol.de/nagios/check_mysql_health/

Re: using check_mysql_health plugin

Posted: Wed Mar 13, 2013 2:57 am
by deepakitkar
Thanks, this helped resolve my query. :)

Re: using check_mysql_health plugin

Posted: Thu Mar 14, 2013 4:29 pm
by slansing
Closing thread as resolved.