[naemon-users] "notification_interval" is ignored
Vytenis A
vytenis.adm at gmail.com
Wed Sep 28 16:46:05 CEST 2016
Hello list,
Have an issue with naemon not honoring "notification_interval". It
doesn't matter what I set it to, the notifications are sent in
intervals of "check_interval", which is too often. If I change
"check_interval", then notifications are also sent in intervals equal
to "check_interval". Don't even know how to debug these kind of
problems.
Can someone help me?
In /var/lib/naemon/objects.cache:
define service {
host_name HOSTNAME.TLD
service_description HTTPS
check_period 24x7
check_command
check_https!IP.AD.DR.ESS!somehost.HOSTNAME.TLD!/!string!stickyport
contact_groups watchers,admins
notification_period 24x7
initial_state o
hourly_value 1
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 2
is_volatile 1
active_checks_enabled 1
passive_checks_enabled 1
obsess 0
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 0
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options r,u,c
notifications_enabled 1
notification_interval 11.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
}
In /var/lib/naemon/status.dat:
servicestatus {
host_name=HOSTNAME.TLD
service_description=HTTPS
modified_attributes=0
check_command=check_https!IP.AD.DR.ESS!somehost.HOSTNAME.TLD!/!string!stickyport
check_period=24x7
notification_period=24x7
check_interval=5.000000
retry_interval=1.000000
event_handler=
has_been_checked=1
should_be_scheduled=1
check_execution_time=0.012
check_latency=0.000
check_type=0
current_state=2
last_hard_state=2
last_event_id=28750
current_event_id=28837
current_problem_id=13084
last_problem_id=13042
current_attempt=2
max_attempts=2
state_type=1
last_state_change=1475071991
last_hard_state_change=1475071992
last_time_ok=1475071991
last_time_warning=0
last_time_unknown=1469698538
last_time_critical=1475072292
plugin_output=HTTP CRITICAL: HTTP/1.1 403 Forbidden - string
'string' not found on 'https://somehost.HOSTNAME.TLD:443/' - 401 bytes
in 0.009 second response time
long_plugin_output=
performance_data=time=0.008965s;;;0.000000 size=401B;;;0
last_check=1475072292
next_check=1475072757
check_options=0
current_notification_number=2
current_notification_id=4085
last_notification=1475072292
next_notification=1475072952
no_more_notifications=0
notifications_enabled=1
active_checks_enabled=1
passive_checks_enabled=1
event_handler_enabled=1
problem_has_been_acknowledged=0
acknowledgement_type=0
flap_detection_enabled=0
process_performance_data=1
obsess=0
last_update=1475072406
is_flapping=0
percent_state_change=6.25
scheduled_downtime_depth=0
}
--
Vytenis
More information about the Naemon-users
mailing list