SMS Notification for service recovery
Posted: Wed Jan 09, 2019 11:50 am
Hi guys,
We noticed that when a service fails (critical or warning) we get an sms + email notification but not when recover (ok) only receive email notification.
Service:
Serviceescalation lvl1:
Serviceescalation lvl2:
Contact:
Thanks
We noticed that when a service fails (critical or warning) we get an sms + email notification but not when recover (ok) only receive email notification.
Service:
Code: Select all
define service {
host_name srvDDD
service_description Disco O
use generic-service
check_command check_nrpe_disk!o!95!98
notification_period workhours_srvDDD
register 1
}
Code: Select all
define serviceescalation {
# config_name lvl1_srvDDD
host_name srvDDD
service_description Disco O
contacts David
contact_groups contact-Mail
first_notification 1
last_notification 3
notification_interval 15
escalation_period 24x7
}
Code: Select all
define serviceescalation {
# config_name lvl2_srvDDD
host_name srvDDD
service_description Disco O
contact_groups contact,contact-Mail
first_notification 4
last_notification 0
notification_interval 15
escalation_period 24x7
}
Code: Select all
define contact {
contact_name David
alias David
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,
service_notification_options w,u,c,r,
host_notification_commands host-notify-by-sms
service_notification_commands service-notify-by-sms
pager <telephone...>
use generic-contact
}
Thanks