You could use check_dummy for the host check and just have it always return OK. Or perhaps the opposite you could add a check_dummy service check for all hosts.
Which you choose will depend upon your personal preference and how you want dependencies to be handled. On Mon, Mar 16, 2009 at 11:06 AM, Deborah Martin <deborah.mar...@kognitio.com> wrote: > 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 > *************************************************************************** > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------------ 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 _______________________________________________ Nagios-users mailing list Nagios-users@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