localhost nrpe.cfg problem
Posted: Wed Jun 04, 2014 12:05 am
Hello,
I am trying to monitor few things through nrpe on my nagios server itself but it shows below error though the command declared in nrpe.cfg
/usr/local/nagios/libexec/check_nrpe -H localhost -t 30 -c check_mem1
NRPE: Command 'check_mem1' not defined
Entry in nrpe.cfg
allowed_hosts=127.0.0.1
command[check_mem1]=/usr/lib64/nagios/plugins/check_memory -w 10 -c 5 -n
am I missing something here or the localhost monitoring have different nrpe setup?
I am trying to monitor few things through nrpe on my nagios server itself but it shows below error though the command declared in nrpe.cfg
/usr/local/nagios/libexec/check_nrpe -H localhost -t 30 -c check_mem1
NRPE: Command 'check_mem1' not defined
Entry in nrpe.cfg
allowed_hosts=127.0.0.1
command[check_mem1]=/usr/lib64/nagios/plugins/check_memory -w 10 -c 5 -n
am I missing something here or the localhost monitoring have different nrpe setup?