Advertisements
open the following file and add the command as follows
root@server1 [/opt/Nagios/Nagios_NRPE/nrpe-2.12]# vi /usr/local/nagios/etc/nrpe.cfg
command[check_mem]=/usr/local/nagios/libexec/check_mem 85 95
save the file. That it.
root@server1 [~]# /usr/local/nagios/libexec/
OK - Memory usage is 2.000%
root@server1 [~]#
I have this error too.
ReplyDeletebut on the client machine works perfect.
the thing is from the nagios server with nrpe command
I got check_mem command undefined
ReplyDeleteCould solve this problem?
Willfredo,
Deletecheck the command exists on both systems.