Hello,
I am sending emails with Nagios and I would like to put into the mail format the contact group that is defined in the Value CONTACTGROUP ie you have set the contactgroup_name
sending mail to a contact group
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: sending mail to a contact group
You can define custom variables in configs by starting them with an underscore like so _CUSTOMVARIABLE "[email protected]" and the referencing it as $_CUSTOMVARIABLE$ where needed. Try looking at the understanding macros and how they work page for more detail
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.