Organization and host checks

Andreas Ericsson ae at op5.se
Fri Nov 10 00:09:46 CET 2006


Andrew Tjang wrote:
> Hello all,
>  
> I have a couple of questions about how nagios functions.
>  
> How does nagios determine the host status?

http://nagios.sourceforge.net/docs/2_0/networkreachability.html

> It seems that without any
> user intervention, host status changes from pending to "Up". 
> I have no is_alive checks set. So shouldn't the host status remain
> pending until it receives information to the contrary? (I have passive
> checks set up, and another script generates the host state information).
> 
>  
> The only thing I can think of is that I've set all the host addresses to
> 127.0.0.1 (b/c i'm using passive checks, and not all hosts have a real
> IP anyway), and somehow nagios is sensing that localhost is up, and thus
> is setting the host status to Up. If this is the case, how do i disable
> this behavior?
>  

You're dead wrong there, I'm afraid. Nagios just assumes that since one 
or more of the services on the host you're checking reported in OK the 
host can't, by definition, be down. This is *always* the only sane thing 
to do.


> The second question I have is how to further organize hostgroups. I
> would like to use one nagios installation to monitor 2 sets of machines
> (each with their own list of hostgroups that might share the same
> namespace). What is the easiest way to segregate these sets of machines
> - perhaps on 2 hostgroup summary pages?
>  

This relates to administrativia and as such any answer will be tainted 
by opinion rather than hard fact. I can't help but to think you're spot 
on with the hostgroup plan though.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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