<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17095" name=GENERATOR><!-- converted from rtf -->
<STYLE>.EmailQuote {
        PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>
</HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>All,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>The issue got resolved by restarting nagios using following 
command - </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>service nagios restart</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>Prior to this, I was using following command to restart 
which I believe was not restarting it properly and hence was not able to refresh 
all the configurations - </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>/usr/local/nagios/bin/nagios -d 
/usr/local/nagios/etc/nagios.cfg</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>Thanks & Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830021106-24022011><FONT face=Arial 
color=#0000ff size=2>Sakshi Anand</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Anand, Sakshi <BR><B>Sent:</B> Wednesday, 
February 23, 2011 5:57 PM<BR><B>To:</B> 
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] 
Configuration Conflicts<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Arial, sans-serif" size=2>
<DIV><FONT color=#0000ff>Hi All,</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>I was trying to monitor switches but as soon as I 
configured it, the services of my server monitoring is not visible on the page 
anymore - </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff><IMG src="cid:830021106@24022011-19C9"> </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>The host associated to the group (test) is not 
displayed and the services are also not there. </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>But, when I go to configuration link on Nagios page and 
search for my host "server_monitoring" associated with "Test Servers", I can 
view all my services - </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff><IMG src="cid:830021106@24022011-19D0"> </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>In the scripts, I have assigned hosts to host groups - 
</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>define host{</FONT></DIV>
<DIV><FONT color=#0000ff>       
use             
generic-host ; Name of host template to use</FONT></DIV>
<DIV><FONT color=#0000ff>       
host_name       server_monitoring</FONT></DIV>
<DIV><FONT color=#0000ff>       
alias           Intranet 
Server</FONT></DIV>
<DIV><FONT color=#0000ff>       
address         
192.xxx.xx.13</FONT></DIV>
<DIV><FONT color=#0000ff>       
max_check_attempts      
10              
; Check each host 10 times (max)</FONT></DIV>
<DIV><FONT color=#0000ff>       
contact_groups          
SSEs</FONT></DIV>
<DIV><FONT color=#0000ff>       
hostgroups      test</FONT></DIV>
<DIV><FONT color=#0000ff>}</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>define hostgroup{</FONT></DIV>
<DIV><FONT color=#0000ff>        
hostgroup_name  test</FONT></DIV>
<DIV><FONT color=#0000ff>        
alias           Test 
Servers</FONT></DIV>
<DIV><FONT color=#0000ff>}</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>Have you ever come across this kind of issue? I have 
been struggling hard with my configurations to get the services back but of no 
use. </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>Do you have a suggestion for me that can help me 
resolve the issue? </FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>Thanks & Regards,</FONT></DIV>
<DIV><FONT color=#0000ff>Sakshi Anand</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></BODY></HTML>