Hi folks!
I’ve been trying to implement escalation and flexible notification, but I’m obviously missing something.
I’ve added a “Pager address” in my WATO user profile, and I have changed my notification to “Flexible Custom Notifications” and added an Email notification and a “SMS via Email to SMS Gateway” (the default sms didn’t work for lack of smstools).
Right off the bat, I had no luck with the SMS Gateway script, but upon inspection, I found the version I had was using env variables that didn’t exist, so I fixed that.
Once I was able to get a page to come through (~/var/check_mk/notifiy/*.log are your friends), I tried enabling “Restrict to nth to mth notification (escalation)” to “2” to “3”.
I set up a failure state and watched the notify.log:
[1403924357] Got notification context with 37 variables
[1403924357] Preparing flexible notifications for showard
[1403924357] Plugin: mail
[1403924357] Executing /omd/sites/nm001/share/check_mk/notifications/mail
[1403924358] Plugin: email-sms-custom.sh
[1403924358] - Skipping: notification number 1 does not lie in range 2 … 3
OK, great! So, now I wait for the next check for escalation … err, it never fired again, so I obviously have something missing.
Looking around in WATO at the various configuration options, I see “Periodic notifications during service problems” … should I assume there is no default for this? if I set it to 120, is that seconds, minutes, check-cycles, ??? More importantly, will that cause the recheck notifications that I’m looking for or is there a better way to implement escalations?
BTW, I’m running on OMD out of the testing repo (1.11.20140402) on Ubuntu 12.04, if that helps …
Thanks!
… .- –
Sam Howard
… .- –