NRPE: command not defined
Marc Powell
marc at ena.com
Wed Feb 17 21:33:18 CET 2010
On Feb 17, 2010, at 1:44 PM, Xu, Kenny wrote:
> 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:
>
> [nagios at 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?
You need to post the service{} and command{} definition that's not working. It's seems clear that something is different there than what you're testing from the command line. Are you sure you're checking the same client?
--
Marc
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list