Hi all
I have Nagios core 4 running at my office. I have a Raspberry Pi at my home with NRPE on it. I can run the command on the Nagios server at the office to query the Pi and I get back the version of the NRPE, so I know at least that much is working.
I used this tutorial to get NRPE running on the Pi.
http://www.tecmint.com/how-to-add-linux ... ng-server/
When I run this command
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_load
I get NRPE: Unable to read output.
Does anyone have any ideas what commands I need to use? I installed the NRPE-plugins and restarted NRPE
Thanks for any ideas you can share
Noob needs commands to monitor a Raspberry Pi
Re: Noob needs commands to monitor a Raspberry Pi
Can you perform the check local on the PI?
Rob Hassing
Re: Noob needs commands to monitor a Raspberry Pi
The command I mentioned was from the Pi
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Noob needs commands to monitor a Raspberry Pi
On your Pi, a command is defined for "check_load".
This will be in:
/usr/local/nagios/etc/nrpe.cfg
or
/usr/local/nagios/etc/nrpe/common.cfg
How is this command defined?
What is the output of the command when run as the nagios user on the remote host?
This will be in:
/usr/local/nagios/etc/nrpe.cfg
or
/usr/local/nagios/etc/nrpe/common.cfg
How is this command defined?
What is the output of the command when run as the nagios user on the remote host?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.