Hello,<br>the period is defined by <span><font face="Arial" size="2"> 
notification_interval   
960, you can try to put 0 if you want to be alert only one time.<br>I used to not get notifications for Warning so i have </font></span><span><font face="Arial" size="2">notification_options            u,c,r</font></span>

<br>instead of <span><font face="Arial" size="2">notification_options            
w,u,c,r</font></span><div><span class="gmail_quote">2006/2/15, <a href="mailto:lennart.kvam@softronic.se" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lennart.kvam@softronic.se</a> <<a href="mailto:lennart.kvam@softronic.se" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lennart.kvam@softronic.se</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div><span><font face="Arial" size="2">Hi 
all    </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Where do i set the 
number of email-notifications when a service is critical? I keep getting one 
email every second minute!?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Heres some of my 
config!</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">minimal.cfg</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">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>        
}</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">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>        
}</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">define 
host{<br>        
use                     
generic-host            ; 
Name of host template to use<br>        
host_name               
arnwin0136<br>        
alias                   
arnwin0136<br>        
address                 
<a href="http://192.168.103.10" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.103.10</a><br>        
check_command           
check-host-alive<br>        
max_check_attempts      
10<br>        
notification_interval   
960<br>        
notification_period     
24x7<br>        
notification_options    
d,u,r,<br>        
notifications_enabled  1<br>        
contact_groups  
    admins<br>        
}</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">define  service 
{<br>    use                             
generic-service        ; 
check_disk_smb<br>        
host_name                       
arnwin0136<br>        
service_description             
C-Disk<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                  
admins,jour<br>        
notification_interval           
960<br>        
notification_period             
24x7<br>        
notification_options            
w,u,c,r<br>        
notifications_enabled           
1<br>        
register                        
1<br>        
check_command   check_disk_smb!nagios!$USER10$!$USER11$<br>        
}     </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Thanks</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Lennart</font></span></div>
<div> </div>
<div align="left"><span style="font-size: 10pt; color: olive; font-family: Tahoma;"><strong>**********************************</strong></span><span> <br></span><b><font color="olive" face="Tahoma"><span style="font-weight: bold; color: olive; font-family: Tahoma;">

Lennart 
Kvam</span></font></b><span> <br></span><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; color: black; font-family: Tahoma;">Softronic 
AB, Ringv�gen 100, 118 60 Stockholm</span></font><span> <br></span><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; color: black; font-family: Tahoma;">Tel: 
0708-813279  Vx:08-51909000 </span></font><span><br></span><font color="black" face="Arial"><span style="color: black; font-family: Arial;"><a href="mailto:lennart.kvam@softronic.se" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

lennart.kvam@softronic.se</a></span></font><span> <br></span><b><font color="olive" face="Tahoma" size="2"><span style="font-weight: bold; font-size: 10pt; color: olive; font-family: Tahoma;">**********************************
</span></font></b></div>
<div> </div>

</blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.