Build precise queries to find exactly what you need
Press ESC to close
@jonathanpisarczyk
Favorites0
Views
Projects0
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$
Reviewed 7 years ago
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