Hosts with no services

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Nov 22 23:29:25 CET 2002


Good point.  Maybe I'll turn on the ICMP service checks again, for my
metrics.

jc

> -----Original Message-----
> From: Kevin L. Papendick [mailto:papendick at nexserver.com]
> Sent: Friday, November 22, 2002 4:07 PM
> To: listuser at neo.pittstate.edu
> Cc: Nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Hosts with no services
> 
> 
> It's not wrong, but it also doesn't do what you probably 
> think it does. 
>  If you define a host without any services Nagios doesn't provide you 
> with a status of the host.  i.e. The hosts status is not 
> checked unless 
> a service returns a non-OK state.  Thus if you want to know 
> if a host is 
> up or down, you need to define some service to check.  I've done the 
> same as you with the ping service.
> 
> See these two FAQ entries that say basically the same thing:
> http://www.nagios.org/faqs/viewfaq.php?faq_id=15
> http://www.nagios.org/faqs/viewfaq.php?faq_id=16
> 
> -klp
> 
> 
> listuser at neo.pittstate.edu wrote:
> 
> >Is it wrong to create a host without creating services for 
> it?  Originally
> >when I defined my network HW and some oddball servers I also 
> created a
> >ping service.  I didn't really think about it at the time 
> but that was
> >redundant as the host check was also a ping.  However it did 
> allow me to
> >see all hosts even if they were their own service under 
> Service Detail.
> >that also prevented the numerous warnings Nagios logs about 
> hosts with 
> >no services when I restart it.  Is it incorrect to do it that way?
> >
> >Justin
> >  
> >
> -- 
> ********************************
> Kevin L. Papendick
> Programmer Analyst
> Nexserver, Inc.
> www.nexserver.com
> papendick at nexserver.com
> (v) 716-655-9968
> (f) 716-655-9982
> ********************************
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list