This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
jkinning
Posts: 747 Joined: Wed Oct 09, 2013 2:54 pm
Post
by jkinning » Tue Oct 04, 2016 1:17 pm
I have a host with several service checks. I noticed one was critical and had been for a little over 2 hours. I looked at the "view service notifications" and it was blank. So I went to the CCM and verified the service and it had the proper contact and time and all that good jazz. Everything looked alright.
Here is the service check:
Code: Select all
define service {
host_name XPRESSION1P
service_description Filecount - CRC Letter Fax.pdf
check_command check_nrpe!check_files -a path=D:/RealTime_Output/CRCLetters/Fax warning=count=75 critical=count=100!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period 20minute-scheduled
notification_options c,r,
notifications_enabled 1
contacts edcd Test Print Group
register 1
}
Timeperiod:
Code: Select all
define timeperiod {
timeperiod_name 20minute-scheduled
alias 20 Minute Downtime Nightly
wednesday 00:00-03:55
tuesday 04:10-24:00
tuesday 00:00-03:55
monday 04:10-24:00
monday 00:00-03:55
sunday 04:10-24:00
sunday 00:00-03:55
wednesday 04:10-24:00
thursday 00:00-03:55
thursday 04:10-24:00
friday 00:00-03:55
friday 04:10-24:00
saturday 00:00-03:55
saturday 04:10-24:00
}
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Tue Oct 04, 2016 3:52 pm
Could you also show us the definition for the edcd Test Print Group contact?
While your at it, please post the service definition segment for XPRESSION1P from /usr/local/nagios/var/objects.cache. This will help us to see the entire compiled definition as well.
Former Nagios Employee
jkinning
Posts: 747 Joined: Wed Oct 09, 2013 2:54 pm
Post
by jkinning » Wed Oct 05, 2016 7:56 am
Code: Select all
define contact {
contact_name edcd Test Print Group
alias EDCD Test Print Group
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,r,
service_notification_options c,r,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email [email protected]
}
Code: Select all
define host {
host_name XPRESSION1P
alias XPRESSION1P
address 10.131.83.37
check_period xi_timeperiod_24x7
check_command check_icmp_custom!!!!!!!!
contact_groups edcd,server_mgmt_team,critical_one
notification_period xi_timeperiod_24x7
initial_state o
importance 0
check_interval 5.000000
retry_interval 5.000000
max_check_attempts 5
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options r,d
notifications_enabled 1
notification_interval 120.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
icon_image win_server.png
statusmap_image win_server.png
retain_status_information 1
retain_nonstatus_information 1
}
Code: Select all
define service {
host_name XPRESSION1P
service_description Filecount - CRC Letter Fax.pdf
check_period xi_timeperiod_24x7
check_command check_nrpe!check_files -a path=D:/RealTime_Output/CRCLetters/Fax warning=count=75 critical=count=100!!!!!!!
contacts edcd Test Print Group
notification_period 20minute-scheduled
initial_state o
importance 0
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 5
is_volatile 0
parallelize_check 1
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options r,c
notifications_enabled 1
notification_interval 60.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
}
There are other service definition segments but here is the one that I noticed experiencing issues.
jkinning
Posts: 747 Joined: Wed Oct 09, 2013 2:54 pm
Post
by jkinning » Wed Oct 05, 2016 9:13 am
I just heard from other users and it appears Nagios is sending no notifications out.
jkinning
Posts: 747 Joined: Wed Oct 09, 2013 2:54 pm
Post
by jkinning » Thu Oct 06, 2016 2:24 pm
So far that seems to help. If you could keep this open until Monday and then you can close it just to make sure.
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Thu Oct 06, 2016 2:44 pm
Will do
Former Nagios employee