Passive checks from distributed server
James Bowes
james at expresscomputers.com
Thu Mar 18 23:59:02 CET 2004
Hi.
I have resolved the error 127... It was me and the pathing in the way I
installed send_nsca. I have sinced moved it to the correct location and
the error has discontinued.
I am still assessing the send/receipt aspects so I will let you know how
it goes.
--james
-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Thursday, March 18, 2004 1:30 PM
To: James Bowes; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Passive checks from distributed server
On Thursday, March 18, 2004 2:40 PM, James Bowes shared with us:
> Hi.
>
> Yes it exists and to answer Marc's question the send_nsca and the
> submit_check_result are both executable by nagios.
Can you provide us with your submit_check_result command definition, the
contents of submit_check_result and an ls -l and pwd of each file or
program it references (including submit_check_result itself)? Nagios
version and OS information would be helpful as well. It's been my
experience that return code of 127 errors are really very
straightforward.
--
Marc
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Thursday, March 18, 2004 12:34 PM
> To: James Bowes
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Passive checks from distributed server
>
> On Thu, 18 Mar 2004, James Bowes wrote:
>
> > Hi folks.
> >
> > I have set up a distributed server which starts the nagios process
> > correctly though produces an error when trying to run the
> > 'submit_check_result' script under
> > /usr/local/nagios/libexec/eventhandlers. Here is the error:
> >
> > Warning: Attempting to execute the command
> > "/usr/local/nagios/libexec/eventhandlers/submit_check_result helium
> > 'check C drive' UNKNOWN 'wrong -l argument'" resulted in a return
> > code
>
> > of 127. Make sure the script or binary you are trying to execute
> > actually exists...
> >
> > Any advice on what I have overlooked is appreciated.
> >
>
> does such a file exist?
> /usr/local/nagios/libexec/eventhandlers/submit_check_result
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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