Xu, Kenny
2010-02-17 19:44:41 UTC
Hi, All,
I ran into a problem on defining a specific check. When configured to
run from nagios monitoring server (Linux) it returns:
NRPE: Command 'check_halog' not defined
But it is defined clearly in /usr/local/nagios/etc/nrpe.cfg file as:
command[check_halog]=/usr/local/nagios/libexec/check_log -F
/var/VRTSvcs/log/engine_A.log -O /usr/local/nagios/var/engine_A.log -q
"FAULTED|CRITICAL"
I can run it manual as nagios from the server fine:
[***@nagiossvr ~]$ /usr/local/nagios/libexec/check_nrpe -H <client>
-c check_halog
Log check ok - 0 pattern matches found
The client is running x86 Solaris 10. Any idea?
Appreciate your help.
Kenny
I ran into a problem on defining a specific check. When configured to
run from nagios monitoring server (Linux) it returns:
NRPE: Command 'check_halog' not defined
But it is defined clearly in /usr/local/nagios/etc/nrpe.cfg file as:
command[check_halog]=/usr/local/nagios/libexec/check_log -F
/var/VRTSvcs/log/engine_A.log -O /usr/local/nagios/var/engine_A.log -q
"FAULTED|CRITICAL"
I can run it manual as nagios from the server fine:
[***@nagiossvr ~]$ /usr/local/nagios/libexec/check_nrpe -H <client>
-c check_halog
Log check ok - 0 pattern matches found
The client is running x86 Solaris 10. Any idea?
Appreciate your help.
Kenny