Passive checks - freshness check ?
Posted: Thu Dec 10, 2015 8:49 am
Hi
From a remote server, I have scheduled a check which submits a result every 5 minutes.... On my Nagios server, the check is inserted by the nsca daemon.. Only issue is, that it sometimes shows up as stale - and I cannot figure out why...
From my nagios.log:
My configuration of this service:
Why is the freshness command triggered - when all submitted check run on a regular interval, and never is more than 720 seconds old?
/Brian
From a remote server, I have scheduled a check which submits a result every 5 minutes.... On my Nagios server, the check is inserted by the nsca daemon.. Only issue is, that it sometimes shows up as stale - and I cannot figure out why...
From my nagios.log:
Code: Select all
[1449754386] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok. | BACKUP-DB-META-DISK=50.2%;88;95;0;100
[1449754395] PASSIVE SERVICE CHECK: rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok.
[1449754395] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;OK;SOFT;2;Everything seems ok.
[1449754395] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;CRITICAL;SOFT;1;CRITICAL: Service check is stale!
[1449754567] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok. | BACKUP-DB-META-DISK=50.2%;88;95;0;100
[1449754575] PASSIVE SERVICE CHECK: rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok.
[1449754575] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;OK;SOFT;2;Everything seems ok.
[1449754746] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok. | BACKUP-DB-META-DISK=50.2%;88;95;0;100
[1449754752] PASSIVE SERVICE CHECK: rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok.
[1449754752] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;CRITICAL;SOFT;1;CRITICAL: Service check is stale!
[1449754926] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok. | BACKUP-DB-META-DISK=50.2%;88;95;0;100
[1449754932] PASSIVE SERVICE CHECK: rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok.
[1449754932] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;OK;SOFT;2;Everything seems ok.
[1449755106] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok. | BACKUP-DB-META-DISK=50.2%;88;95;0;100
[1449755112] PASSIVE SERVICE CHECK: rs001b;TSM DB-META DISK Pool Utilization;0;Everything seems ok.
[1449755112] SERVICE ALERT: rs001b;TSM DB-META DISK Pool Utilization;CRITICAL;SOFT;1;CRITICAL: Service check is stale!
Code: Select all
define service {
hostgroup_name TCRS-TSM-FILEDBVM-DD,TCRS-TSM-VM-DD
service_description TSM DB-META DISK Pool Utilization
display_name DB-Meta Disk Pool Util
use passive-service,graphed-service
check_command check_dummy!2!"Service check is stale\!"
max_check_attempts 3
check_interval 6
retry_interval 6
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
check_freshness 1
freshness_threshold 720
flap_detection_enabled 0
notification_interval 720
notification_period none
notification_options w,c,r
notifications_enabled 1
icon_image graph.png
register 1
}
/Brian