nrpe -u option does not work if nrpe is shutdown in the remote host. On Tue, May 25, 2010 at 11:42 AM, Stier, Matthew < matthew.st...@us.fujitsu.com> wrote:
> From the check_nrpe usage message: > > > > Options: > > -n = Do no use SSL > > -u = Make socket timeouts return an UNKNOWN state instead of > CRITICAL > > > > *From:* shadih rahman [mailto:shadhi...@gmail.com] > *Sent:* Tuesday, May 25, 2010 11:35 AM > *To:* nagios-users@lists.sourceforge.net > *Subject:* [Nagios-users] nrpe and critical state > > > > I am doing a check which counts the number of process running on the > remote host. Lets say for whatever reason nrpe could not establish > connection during the test. In this situation, should it not go to UNKNOWN > state. However I see its going to critical state. Please advise on this. > Thanks > > [user]>./check_nrpe -H xxxxx -c check_process_x64 -a 0: 10: httpd > Connection refused by host > [user]>echo $? > 2 > > -- > Cordially, > Shadhin Rahman > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > -- Cordially, Shadhin Rahman
------------------------------------------------------------------------------
_______________________________________________ Nagios-users mailing list Nagios-users@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