<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 http-equiv="Content-Type" content="text/html; ">
  <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>