using check_mysql_health plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
deepakitkar
Posts: 15
Joined: Tue Feb 12, 2013 9:13 am

using check_mysql_health plugin

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: using check_mysql_health plugin

Post 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?
deepakitkar
Posts: 15
Joined: Tue Feb 12, 2013 9:13 am

Re: using check_mysql_health plugin

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: using check_mysql_health plugin

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
deepakitkar
Posts: 15
Joined: Tue Feb 12, 2013 9:13 am

Re: using check_mysql_health plugin

Post by deepakitkar »

Scott - Thanks, Do we have a tutorial on setting this up, somewhere?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: using check_mysql_health plugin

Post by abrist »

Documentation for the check_mysql_health plugin can be found at:
http://labs.consol.de/nagios/check_mysql_health/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
deepakitkar
Posts: 15
Joined: Tue Feb 12, 2013 9:13 am

Re: using check_mysql_health plugin

Post by deepakitkar »

Thanks, this helped resolve my query. :)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: using check_mysql_health plugin

Post by slansing »

Closing thread as resolved.
Locked