ocsp_command option unable to complete - Code 127

Marc Powell marc at ena.com
Thu Sep 4 23:06:15 CEST 2008


On Sep 4, 2008, at 3:48 PM, Murali Edula wrote:

> Hi,
> We are configuring distributed monitoring using send_nsca. I am  
> seeing following error from
> Nagios.log when ocsp_command executed by nagios service.
> But I can run manually the same command as nagios user successful.
>
> $ /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current  
> Users' 0 'USERS OK - 4 users currently logged in'
> 1 data packet(s) sent to host successfully.
>
> Please help me what I am missing and why Nagios service giving me  
> Code 127. Even though script is existed in
> /usr/local/nagios/libexec

Thanks for providing the appropriate config snippets. Looks good. Make  
sure that any programs used within the test_nsca script exist and use / 
fully/qualified/paths. The environment available when the daemon  
executes the script is restricted.

--
Marc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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