<html><body bgcolor="#FFFFFF"><div>Pleae,</div><div><br></div><div>Paste the web-server template the http  service and commando definitions and related template.<br><br>Ciao,<div><br></div><div>Giorgio</div></div><div><br>Il giorno 03/giu/2011, alle ore 21:33, "Henry R. Prins" <<a href="mailto:HPrins@multidataservices.com">HPrins@multidataservices.com</a>> ha scritto:<br><br></div><div></div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal">Hey guys,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I have two web servers which I have been monitoring. <o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:1.0in">define host{<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        use                     web-server<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        host_name               MDS-Support<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        alias                   MDS Support on Apache Web Server<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        address                 67.88.41.150<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        parents                 rtr-t1-ext-150<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        contact_groups          webadmins<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        }<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:1.0in">define host{<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        use                     web-server<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        host_name               MDS-Main-Website<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        alias                   multidataservices main website<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        address                 <a href="http://www.multidataservices.com"><a href="http://www.multidataservices.com">www.multidataservices.com</a></a><o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        parents                 Internet<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        contact_groups          webadmins<o:p></o:p></p><p class="MsoNormal" style="margin-left:1.0in">        }<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">But somehow I got this message today when one of the two was not responding:<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">***** Nagios *****<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Notification Type: PROBLEM<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Service: HTTP<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Host: MDS Support on Apache Web Server<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Address: <a href="http://www.multidataservices.com"><a href="http://www.multidataservices.com">www.multidataservices.com</a></a><o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in">State: CRITICAL<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Date/Time: Fri Jun 3 15:03:22 EDT 2011<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">Additional Info:<o:p></o:p></p><p class="MsoPlainText" style="margin-left:1.0in"><o:p> </o:p></p><p class="MsoPlainText" style="margin-left:1.0in">CRITICAL - Socket timeout after 10 seconds<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">It seems the Host Name is for one entry and the Address is from the other.  Anyone know what I am doing wrong?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Henry.<o:p></o:p></p></div></div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Simplify data backup and recovery for your virtual environment with vRanger.</span><br><span>Installation's a snap, and flexible recovery options mean your data is safe,</span><br><span>secure and there when you need it. Discover what all the cheering's about.</span><br><span>Get your free trial download today. </span><br><span><a href="http://p.sf.net/sfu/quest-dev2dev2">http://p.sf.net/sfu/quest-dev2dev2</a> </span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Nagios-users mailing list</span><br><span><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span><br><span>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span><br><span>::: Messages without supporting info will risk being sent to /dev/null</span></div></blockquote></body></html>