Page 1 of 1
NRPE: unable to read output from check_mysql
Posted: Fri Apr 08, 2016 1:02 pm
by ebp12100
This is showing up as an unknown service, and I'm baffled as to what I'm missing. What suggestions could you toss my way on fixing this? 2 attachments included, showing the nagios interface
many thanks!
Ed
Re: NRPE: unable to read output from check_mysql
Posted: Fri Apr 08, 2016 1:16 pm
by rkennedy
Can you please post the service definition for this service?
Re: NRPE: unable to read output from check_mysql
Posted: Fri Apr 08, 2016 1:22 pm
by ebp12100
This is from the harveywptest.cfg file on my Nagios server:
define service{
use generic-service
host_name harveywptest
service_description MySQL
check_command check_nrpe!check_mysql
contact_groups linux-admins,linux-admins-text
}
Please let me know what additional information you might need...thanks!
Re: NRPE: unable to read output from check_mysql
Posted: Fri Apr 08, 2016 1:28 pm
by hsmith
On the machine you're trying to check mysql against, can you switch to the nagios user(assuming that's the user you're running NRPE as), and try to run the check_mysql plugin?
Re: NRPE: unable to read output from check_mysql
Posted: Fri Apr 08, 2016 2:16 pm
by tmcdonald
I have moved this into the Nagios Core section of the forum as it is not a Logserver question. Please take care to post in the correct sections in the future.