Thanks for pointing the doc. I've been going through that and I guess I was
looking for the part where it says that DOWN = 1 and not 2.


On Thu, Mar 17, 2011 at 3:40 PM, Giacomo Montagner <[email protected]>wrote:

> On Thu, 17 Mar 2011 14:57:08 +0800
> Rai Ricafrente <[email protected]> wrote:
>
> > I am looking at the status.dat file and I noticed that the current_state
> is
> > =1 even when the host is down and is in critical state. I assume that if
> a
> > host is down, the current_state should be =2.
>
> It's probably because hosts can be in only 3 states:
>
> UP=0
> DOWN=1
> UNREACHABLE=2 (
> http://nagios.sourceforge.net/docs/3_0/networkreachability.html)
>
> Giacomo
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to