<div dir="ltr">Hi,<br><br>I have a local script to backup my Nagios-machine, which writes its status directly in nagios.cmd. This works fine, but after about 3 minutes after the OK it switches back to CRITICAL. The service is passive and the freshness_threshold is set to 26h. Why does it complain after 3 minutes?<br>
<br><br>Cheers<br>Klaus<br><br><br>define service{<br>    name                            backup-job ; The 'name' of this service template<br>    active_checks_enabled           0       ; 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>
    freshness_threshold        93600    ;26h<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>
    notification_interval           0        ; Only send notifications on status change by default.<br>    is_volatile                     0<br>    check_period                    24x7<br>    normal_check_interval           5<br>
    retry_check_interval            1<br>    max_check_attempts              4<br>    notification_period             24x7<br>    notification_options            w,u,c,r<br>    contact_groups                  admins<br>    register                        0   &
 nbsp;   ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!<br>
}<br><br><br><br><br>define service{<br>    use                            backup-job<br>    host_name                    rcc-nagios<br>    service_description        Backup Status<br>    check_command                nagios-backup-failed<br>
    check_freshness            1<br>    max_check_attempts        1<br>    active_checks_enabled    0<br>    passive_checks_enabled    1<br>}<br><br><br clear="all"><br>-- <br>First Official Internetdenier<br>
</div>