Officially resolved as of tonight.
Cause: At this point, just speculation.
Remedy: Updated RHEL from 6.6 to 6.7 on the client and rebooted. When the server came back up, the error was gone.
Search found 12 matches
- Sat Apr 09, 2016 1:13 am
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
- Fri Apr 08, 2016 12:49 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
It looks like you have NRPE configured to run as the NRPE user instead of the nagios user, can you su to that user and try the check? Exact same results as running as Nagios and root. In fact, the NRPE account gave the same error as the Nagios account and had to be run as I previously indicated. <b...
- Wed Apr 06, 2016 7:54 am
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
If I run the /usr/lib64/nagios/plugins/check_mem.pl -w 20 -c 10 from the client, I get the following: What user did you run this as? I also managed to find a way to su the Nagios account. For future reference for others, use the following command: su - nagios -s /bin/bash I also ran the /usr/lib64/...
- Wed Apr 06, 2016 7:48 am
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
root.hsmith wrote:What user did you run this as?aneah wrote: If I run the /usr/lib64/nagios/plugins/check_mem.pl -w 20 -c 10 from the client, I get the following:
- Tue Apr 05, 2016 4:15 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
I think the problem is with the ! in the output of the plugin. The ! is used as a delimiter in Nagios and that could cause the error. Try replacing the check_mem on your system with the one in the link below and see if that works for you. https://raw.githubusercontent.com/justintime/nagios-plugins/...
- Tue Apr 05, 2016 4:02 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
What commands did you run in order to install Nagios Plugins and NRPE? It is very strange that the nagios user is not available... This account is currently not available. What is the output of the following commands? grep nag /etc/passwd grep nag /etc/group grep "nrpe_" /path/to/the/nrpe...
- Tue Apr 05, 2016 3:19 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
Login to the remote server and run the following to see if this resolves the issue. Run the following and post the output. chown apache.nagios /usr/lib64/nagios/plugins/check_mem chmod ugo+rx /usr/lib64/nagios/plugins/check_mem su nagios /usr/lib64/nagios/plugins/check_mem -f -w 20 -c 10 /usr/lib64...
- Tue Apr 05, 2016 3:07 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
Could you run these two and post the output? I'd like to rule out DNS being the factor for whatever reason. The -n will have it run in insecure mode (which still shouldn't be the case, but this is definitely weird). /usr/lib64/nagios/plugins/check_nrpe -H <ip> -c check_mem /usr/lib64/nagios/plugins...
- Mon Apr 04, 2016 2:29 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
Can you show us the actual command definition on the cliect (remote box), and the check that you run on the nagios server from the command line, along with the output of it? Example: Client: command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 20 -c 10 Nagios: ./check_nrpe -H <client ip> -c...
- Mon Apr 04, 2016 2:24 pm
- Forum: Open Source Nagios Projects
- Topic: What am I missing? (NRPE: Unable to read output)
- Replies: 20
- Views: 50553
Re: What am I missing? (NRPE: Unable to read output)
Here's what I'd do, From the monitoring server, do a nrpe check, but also pass it the command (in this case the memory check). If it works, that tells you the monitoring server can connect to the remote server using nrpe, and it can run the command/check you specify. If that works, I'd go to the re...