Am 19.09.2012 um 01:42 schrieb Andreas Ericsson :
> On 09/18/2012 07:00 PM, Joerg Linge wrote:
>> Hi Andreas
>> 1.4 million hits while searching for "return code 127 is out of =
bounds" on google
>>=20
>> But Nagios 3.99 ( git rev 9b1af7a ) just tell me
>>=20
>> ---8> Status Information: (No output returned from plugin)
>> ---8>=20
>> I want to have my 127 back !!11!
>>=20
>> Tested by pointing $USER1$ to a non exiting directory.
>>=20
>=20
> Hmm. The output you're supposed to get from that is
> (No output on stdout) stderr: execvp() failed. errno is 2: No such =
file or directory
>=20
> which I hope is a decent improvement. It certainly works that way
> with the wproc binary (cd lib && make wproc && ./wproc; #enter lala)
> and the core workers use that exact same code. It might be I'm not
> assigning the outerr variable properly though.
>=20
> Ah. Found it. I'm only checking for wpres->outstd =3D=3D NULL and not =
if
> it's the nul string. Commit incoming.
>=20
Much better now
(No output on stdout) stderr: execvpe() failed. errno is 2: No such file =
or directory=20
Thanks!
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]