current_state value in status.dat file
Giacomo Montagner
gmontagner at sorint.it
Thu Mar 17 08:40:18 CET 2011
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
More information about the Users
mailing list