<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.34">
<TITLE>RE: Host checks instead of service checks </TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Folks, </FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I should have also mentioned that the reason for doing this is to filter out host problems separately to service problems. </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">If I leave ssh checks as a service and 44 nodes are switched off, I see 44 ssh critical alerts under Service Problems. I'd rather see 44 ssh critical alerts under</FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Host Problems. (I thought my method below would a good way to filter these out). When we resize database systems, we only want to know about critical alerts </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">for the database as a service problem (we may reduce a DB by 50 nodes but DB is still valid for monitoring) </FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">regards,</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">deborah</FONT>
</P>

<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Deborah Martin  </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">16 March 2009 15:06</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">'nagios-users@lists.sourceforge.net'</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:       </FONT></B> <FONT SIZE=1 FACE="Tahoma">Host checks instead of service checks </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Importance:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">High</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Hi Folks, </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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) </FONT></P>

<P><FONT SIZE=2 FACE="Arial">So in the web interface, I see all hosts as up. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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) </FONT></P>

<P><FONT SIZE=2 FACE="Arial">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...</FONT></P>

<P><FONT SIZE=2 FACE="Arial">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! </FONT></P>

<P><FONT SIZE=2 FACE="Arial">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</FONT></P>

<P><FONT SIZE=2 FACE="Arial">of hosts appear in the pre-flight check warnings and it now looks incredibly untidy to see all this. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">How can I get rid of these warnings ? </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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 </FONT></P>

<P><FONT SIZE=2 FACE="Arial">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" ? </FONT></P>

<P><FONT SIZE=2 FACE="Arial">regards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">deborah </FONT>
</P>
<BR>


<BR>
***************************************************************************<BR>
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. <BR>
<BR>
Any unauthorised distribution or copying is strictly prohibited. <BR>
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. <BR>
<BR>
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. <BR>
<BR>
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.<BR>
<BR>
Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA<BR>
***************************************************************************<BR>
</BODY>
</HTML>