<!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 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=625291913-31082006><FONT face=Arial 
color=#0000ff size=2>no, that did not work:( Now i get mail every 4:th minute:) 
I only want one... someone ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625291913-31082006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=625291913-31082006><FONT face=Arial 
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625291913-31082006><FONT face=Arial 
color=#0000ff size=2>Lelle</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> nagios-users-bounces@lists.sourceforge.net 
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>För 
</B>lennart.kvam@softronic.se<BR><B>Skickat:</B> den 31 augusti 2006 
13:38<BR><B>Till:</B> hpsekhon@googlemail.com<BR><B>Kopia:</B> 
nagios-users@lists.sourceforge.net<BR><B>Ämne:</B> Re: [Nagios-users] Number of 
Notifications!?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2>Hi!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2>thanks for a fast answer!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2>Here are the configfiles i`m using</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2># Plugin commands (service and host check commands)<BR># 
Arguments are likely to change between different releases of the<BR># plugins, 
so you should use the same config file provided with the<BR># plugin release 
rather than the one provided with 
Nagios.<BR>cfg_file=/usr/local/nagios/etc/checkcommands.cfg</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2># Misc commands (notification and event handler commands, 
etc)<BR>cfg_file=/usr/local/nagios/etc/misccommands.cfg</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2># You can split other types of object definitions across 
several<BR># config files if you wish (as done here), or keep them all in a<BR># 
single config file.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff 
size=2><STRONG>cfg_file=/usr/local/nagios/etc/minimal.cfg</STRONG><BR>cfg_file=/usr/local/nagios/etc/escalations.cfg</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff 
size=2>#cfg_file=/usr/local/nagios/etc/contactgroups.cfg<BR>#cfg_file=/usr/local/nagios/etc/contacts.cfg<BR>#cfg_file=/usr/local/nagios/etc/dependencies.cfg<BR>#cfg_file=/usr/local/nagios/etc/hostgroups.cfg<BR>#cfg_file=/usr/local/nagios/etc/hosts.cfg<BR>#cfg_file=/usr/local/nagios/etc/services.cfg<BR>#cfg_file=/usr/local/nagios/etc/timeperiods.cfg</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=218312711-31082006><FONT face=Arial 
color=#0000ff size=2># Extended host/service info definitions are now stored 
along with<BR># other object 
definitions:<BR>cfg_file=/usr/local/nagios/etc/hostextinfo.cfg<BR>cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=218312711-31082006></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>I<SPAN class=218312711-31082006> will try this 
now....i`ll let you know if it works:)</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=218312711-31082006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=218312711-31082006>Thanks</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=218312711-31082006>Lelle</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> Hari Sekhon 
[mailto:hpsekhon@googlemail.com] <BR><B>Skickat:</B> den 31 augusti 2006 
13:06<BR><B>Till:</B> Kvam Lennart<BR><B>Kopia:</B> 
nagios-users@lists.sourceforge.net<BR><B>Ämne:</B> Re: [Nagios-users] Number of 
Notifications!?<BR></FONT><BR></DIV>
<DIV></DIV>go and look in your nagios.cfg file for which config files it's 
actually using, I don't think most people use minimal, but you won't know until 
you look there.<BR><BR>then find the service definition and change line 
<BR><BR><FONT face=Arial size=2><SPAN 
class=234544310-31082006>notification_interval           
0<BR><BR>to <BR><BR></SPAN></FONT><FONT face=Arial size=2><SPAN 
class=234544310-31082006>notification_interval           
60<BR><BR>to have it email you once an hour when a service is down (assuming you 
haven't changed the default interval length in nagios.cfg)<BR><BR><BR>That 
should sort it<BR><BR></SPAN></FONT><BR><BR><A class=moz-txt-link-abbreviated 
href="mailto:lennart.kvam@softronic.se">lennart.kvam@softronic.se</A> wrote: 
<BLOCKQUOTE 
cite=mid308D3417BAD2104895AE72D879B815B6029891AA@stsstomail01.softronic.se 
type="cite">
  <META content="MSHTML 6.00.2900.2802" name=GENERATOR>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>Hello all Nagios 
  gurus!</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>I have a 
  irritating problem, when a service goes down/critical i get a notification 
  every second minute! Thats irritating:)</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>I`w also read the 
  docs on notifications but still ì havent solved it! Can anyone help me 
  please?:)</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>Here are som of my 
  config: snip</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>Nagios.cfg:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>command_check_interval=-1</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>log_notifications=1</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>interval_length=60</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>enable_notifications=1</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>status_update_interval=15</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>Minimal.cfg:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>define 
  host{<BR>        
  name                            
  generic-host    ; The name of this host 
  template<BR>        
  notifications_enabled           
  1       ; Host notifications are 
  enabled<BR>        
  event_handler_enabled           
  1       ; Host event handler is 
  enabled<BR>        
  flap_detection_enabled          
  1       ; Flap detection is 
  enabled<BR>        
  failure_prediction_enabled      
  1       ; Failure prediction is 
  enabled<BR>        
  process_perf_data               
  1       ; Process performance 
  data<BR>        
  retain_status_information       
  1       ; Retain status information across 
  program restarts<BR>        
  retain_nonstatus_information    
  1       ; Retain non-status information across 
  program restarts<BR>        
  register                        
  0       ; DONT REGISTER THIS DEFINITION - ITS 
  NOT A REAL HOST, JUST A 
  TEMPLATE!<BR>        }</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>define 
  service{<BR>        
  name                    
  generic-service ; The 'name' of this service 
  template<BR>        
  active_checks_enabled           
  1       ; Active service checks are 
  enabled<BR>        
  passive_checks_enabled          
  1       ; Passive service checks are 
  enabled/accepted<BR>        
  parallelize_check               
  1       ; Active service checks should be 
  parallelized (disabling this can lead to major performance 
  problems)<BR>        
  obsess_over_service             
  1       ; We should obsess over this service (if 
  necessary)<BR>        
  check_freshness                 
  1       ; Default is to NOT check service 
  'freshness'<BR>        
  notifications_enabled           
  1       ; Service notifications are 
  enabled<BR>        
  event_handler_enabled           
  1       ; Service event handler is 
  enabled<BR>        
  flap_detection_enabled          
  1       ; Flap detection is 
  enabled<BR>        
  failure_prediction_enabled      
  1       ; Failure prediction is 
  enabled<BR>        
  process_perf_data               
  1       ; Process performance 
  data<BR>        
  retain_status_information       
  1       ; Retain status information across 
  program restarts<BR>        
  retain_nonstatus_information    
  1       ; Retain non-status information across 
  program restarts<BR>        
  register                        
  0       ; DONT REGISTER THIS DEFINITION - ITS 
  NOT A REAL SERVICE, JUST A 
  TEMPLATE!<BR>        }</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>define 
  host{<BR>        
  use                     
  generic-host            
  ; Name of host template to use<BR>        
  host_name               
  STSSTOSIG<BR>        
  alias                   
  STSSTOSIG<BR>        
  address                 111.111.111.111<BR>        
  check_command           
  check-host-alive<BR>        
  max_check_attempts      
  10<BR>        
  notification_interval   
  0<BR>        
  notification_period     
  24x7<BR>        
  notification_options    
  d,u,r,<BR>        
  notifications_enabled  1<BR>        
  contact_groups  
      admins<BR>        
  }</SPAN></FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006><BR>define  
  service 
  {<BR>    use                             
  generic-service         ; 
  check_ping<BR>        
  host_name                       
  STSSTOSIG<BR>        
  service_description             
  PING<BR>        
  is_volatile                     
  1<BR>        
  max_check_attempts              
  5<BR>        
  normal_check_interval           
  2<BR>        
  retry_check_interval            
  1<BR>        
  active_checks_enabled           
  1<BR>        
  passive_checks_enabled          
  1<BR>        
  check_period                    
  24x7<BR>        
  parallelize_check               
  1<BR>        
  obsess_over_service             
  1<BR>        
  check_freshness                 
  1<BR>        
  freshness_threshold             
  420<BR>        
  event_handler_enabled           
  1<BR>        
  low_flap_threshold              
  0<BR>        
  high_flap_threshold             
  0<BR>        
  flap_detection_enabled          
  1<BR>        
  process_perf_data               
  1<BR>        
  retain_status_information       
  1<BR>        
  retain_nonstatus_information    0   
  <BR>        
  contact_groups                  
  oas-hd,admins<BR>        
  notification_interval           
  0<BR>        
  notification_period             
  24x7<BR>        
  notification_options            
  w,u,c,r<BR>        
  notifications_enabled           
  1<BR>        
  register                        
  1<BR>    check_command          check_ping!100.0,20%!500.0,60%<BR>        
  } </SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN class=234544310-31082006>This is what i 
  have in my minimal:) Something should be wrong...or?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>Thanks</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=234544310-31082006>Lelle</SPAN></FONT></DIV>
  <DIV> </DIV>
  <DIV align=left><FONT face=Arial 
  size=2>        
                           
    
  __\/__ <BR>                                .  
  / ^  ^ \  . <BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>