Host checks instead of service checks

Deborah Martin Deborah.Martin at Kognitio.com
Mon Mar 16 16:06:20 CET 2009


Hi Folks, 

Currently, the main nagios box (running old version of SuSE) and Nagios
2.0b4 is running just with service checks, one of which is an ssh check (we
don't allow ping) 

So in the web interface, I see all hosts as up. 

However, I've built a new box (which hopefully will replace the above) with
SLES 10SP1 and Nagios 3.0.6. I've put the same config files (services.cfg
and hosts.cfg) 
on the this new system. But now the hosts all show as "Pending". So I then
moved the ssh check from a service check to a host check and can see that
the more hosts I move the  less hosts are pending. That's good so far...

But, when I run the pre-flight check (/usr/local/nagios/bin/nagios -v
nagios.cfg), I now get warnings to say some hosts don't have any service
checks associated with it! 
This is true as some nodes will only have ssh checks against them whilst
others will have other checks against them. I'd rather it didn't warn me as
I have hundreds
of hosts appear in the pre-flight check warnings and it now looks incredibly
untidy to see all this. 

How can I get rid of these warnings ? 

I'm probably missing something here so any help would be appreciated. I'm
wondering for example, if I should force the initial state to be UP for
hosts rather than 
moving the ssh service check to a host check. But then what would happen if
the service check found a node was down - would it reflect that in the "host
problems" ? 

regards,
deborah 




***************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. 

Any unauthorised distribution or copying is strictly prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. 

Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. 

Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office:  3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92.

Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA
***************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090316/51c72f31/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
-------------- 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