current_state value in status.dat file

Rai Ricafrente maillist at ricafrente.com
Thu Mar 17 09:14:02 CET 2011


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 <gmontagner at sorint.it>wrote:

> On Thu, 17 Mar 2011 14:57:08 +0800
> Rai Ricafrente <maillist at ricafrente.com> 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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110317/91aaa73c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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