<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=339164310-06112002>I 
think you have enabled retention in your nagios.cfg. Nagios does not only save 
the state of a service but also everything that you can enable or disable in the 
web-interface. With "retain_nonstatus_information 0/1" in your service 
definition or service template you can control whether Nagios takes the 
nonstatus info from the retention data (retain_nonstatus_information 1) or the 
service configuration (retain_nonstatus_information 0).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=339164310-06112002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=339164310-06112002>-vol</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Yohann.Darsigny@sungard.com 
  [mailto:Yohann.Darsigny@sungard.com]<BR><B>Sent:</B> Tuesday, November 05, 
  2002 3:52 PM<BR><B>To:</B> 
  nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] 
  flap_detection_enabled=0 not showing up in web 
interface??<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=562503514-05112002>Hi 
  to all the Nagios users around,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=562503514-05112002></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=562503514-05112002>I'm 
  having issues with the FLAP detection in nagios.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=562503514-05112002></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=562503514-05112002>I 
  have the following service definition in my configuration:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=562503514-05112002>=====================================================</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2>#############################<BR># 
  TEMPLATE SERVICE_NRPE     
  #<BR>#############################<BR>define 
  service{<BR>        
  register                
  0<BR>        
  is_volatile             
  0<BR>        
  max_check_attempts      
  3<BR>        
  normal_check_interval   
  60<BR>        
  retry_check_interval    
  1<BR>        
  check_period            
  24x7<BR>        
  notification_interval   
  60<BR>        
  notification_period     
  24x7<BR>        
  notification_options    
  w,c,r<BR>        
  notifications_enabled   1<BR><FONT 
  color=#ff0000>        
  flap_detection_enabled  
  0</FONT><BR>        
  name                    
  SERVICE_NRPE<BR>}</FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
  <DIV><FONT color=#0000ff><FONT face=Arial><FONT size=2>define 
  service{<BR>    
  host_name                   <SPAN 
  class=562503514-05112002>server1,server2,server3</SPAN></FONT></FONT></FONT></DIV>
  <DIV><SPAN class=562503514-05112002></SPAN><FONT face=Arial color=#0000ff 
  size=2>    
  service_description         
  FileSystem#<SPAN class=562503514-05112002>1</SPAN> Usage<BR>    
  check_command               
  check_nrpe!check_disk<SPAN 
  class=562503514-05112002>1</SPAN><BR>    
  contact_groups              <SPAN 
  class=562503514-05112002>grouppager,groupemail</SPAN><BR>    
  use                         
  SERVICE_NRPE<BR>}</FONT></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff 
  size=2>=====================================================</FONT></SPAN></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff size=2>I 
  have enabled flap detection for all host and service in the main configuration 
  file, but I want to disable it for some service like 
  check_disk.</FONT></SPAN></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff size=2>I 
  added the flap_detection_enabled  0 in my service definition, but when I 
  check in the web interface, it still show off has enable for that 
  service.</FONT></SPAN></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff size=2>If I 
  set it my self manually with the interface, it works fine, but I don't want to 
  do it manually for about 400 services I have configured like the one showed 
  above. :(</FONT></SPAN></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff size=2>Any 
  though??</FONT></SPAN></DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=562503514-05112002><FONT face=Arial color=#0000ff 
  size=2>Regards</FONT></SPAN></DIV>
  <P><B><FONT face="Times New Roman">Yohann Darsigny<BR></FONT><FONT 
  face="Times New Roman" color=#000000 size=2>Support Specialist, 
  Operations</FONT></B> <BR><FONT face="Times New Roman" color=#808000 
  size=2>SunGard Front Office Solutions - BrokerWare(tm)</FONT><FONT 
  face="Courier New" size=2></FONT> <BR><FONT face="Times New Roman" size=2>Tel: 
  (514) 982-6687 x 226<BR>Fax: (514) 982-9476<BR>email: 
  yohann.darsigny@sungard.com<BR>web:<U> </U></FONT><U><FONT 
  face="Times New Roman" color=#000000 size=2>www.brokerware.com</FONT></U> 
</P></BLOCKQUOTE></BODY></HTML>