Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jonathanpisarczyk
byjonathanpisarczyk, September 19, 2018
Thanks. I'm running on remote PI.
On the remote Pi you install NRPE: apt-get install nagios-nrpe-server
Configure NRPE like so: vi /etc/nagios/nrpe.cfg
...
allowed_hosts=
...
command[check_temp]=/path/to/check_rpi_temp.sh -w 60 -c 70
...
On the Nagios server configure the check like so:
check_command check_nrpe!check_temp
On the remote Pi you install NRPE: apt-get install nagios-nrpe-server
Configure NRPE like so: vi /etc/nagios/nrpe.cfg
...
allowed_hosts=
...
command[check_temp]=/path/to/check_rpi_temp.sh -w 60 -c 70
...
On the Nagios server configure the check like so:
check_command check_nrpe!check_temp
byjonathanpisarczyk, May 24, 2018
I copied the file to remote raspberry and get error:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_raspberry_temp, ...) failed. errno is 2: No such file or directory
I set the command to:
$USER1$/check_raspberry_temp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_raspberry_temp, ...) failed. errno is 2: No such file or directory
I set the command to:
$USER1$/check_raspberry_temp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$