NRPE mystery
Edgar Matzinger
Edgar.Matzinger at valid.nl
Thu Nov 20 10:53:55 CET 2008
Hi Farhan Ahmed,
the only thing I can think of is that the exit codes aren't
propagated to the nagios server:
> root at asqstage# /usr/local/sys/nrpe/libexec/check_users -w 2
> -c 3 USERS CRITICAL - 11 users currently logged in |users=11;2;3;0
>
> root at asqstage# /usr/local/sys/nrpe/libexec/check_tcp -p 1250
> Connection refused
>
What are the exit codes of these checks? Should be 2.
> On Nagios Server:
> root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage
> -c check_users USERS CRITICAL - 10 users currently logged in
> |users=10;2;3;0
>
> root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage
> -c check_remote Connection refused
And here? The exit codes should be 2 also.
Succes, cu l8r, Edgar.
--
|\ /| : : Addr: Valid Eindhoven B.V.
/ | \/ | : Edgar R. Matzinger : t.a.v. E.R.
Matzinger
/ | | : : Paradijslaan 36
\ /| /\| : : 5611 KN Eindhoven
\/ / \ : Valid Eindhoven BV :
\ /\ / : :
\/ |\/ : :
| : :
Disclaimer: Any comments, opinions made are mine, etc ...
-------------------------------------------------------------------------
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