Different Emails For Different Alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Different Emails For Different Alerts

Post by hhlodge »

Regarding abrist's inquiry - 1) I presume that you have defined the $SERVICEACTIONURL$ on the object?

No, I assumed the macro was populated by XI since the xi_notification handler has content in the macro, but now I see those are different macros. Are those Xi ones (responseurl and xiserverurl) even available to the core notification script? I am guessing not.
Last edited by hhlodge on Tue Feb 25, 2014 11:58 am, edited 1 time in total.
- Kyle
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Different Emails For Different Alerts

Post by sreinhardt »

I can't say I have seen it done, but it is certainly worth a shot. I think more than anything it would depend on what language you are using to expand the env macros that are being passed, and if it will look inside a macro for additional ones.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked