NRPE: unable to read output from check_mysql

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

NRPE: unable to read output from check_mysql

Post 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
Attachments
nrpe-nagios-2.PNG
nrpe-nagios.PNG
nrpe-nagios.PNG (4.48 KiB) Viewed 1947 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NRPE: unable to read output from check_mysql

Post by rkennedy »

Can you please post the service definition for this service?
Former Nagios Employee
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

Re: NRPE: unable to read output from check_mysql

Post 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!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NRPE: unable to read output from check_mysql

Post 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?
Former Nagios Employee.
me.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRPE: unable to read output from check_mysql

Post 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.
Former Nagios employee
Locked