Macros in Email template
Posted: Fri Feb 20, 2015 8:47 am
Hi Team,
I'm trying to put in a macro in our email template to get the information of the service groups the monitored service is part off, I have added the macro $SERVICEGROUPNAMES$ to my email (in different formats like - $SERVICEGROUPNAMES$, %SERVICEGROUPNAMES%,%servicegroupnames%) but when the notification is sent out we don't see the relevant information instead we have the macro in the email as shown below. Did I use a wrong macro? I referring the link - http://nagios.sourceforge.net/docs/3_0/ ... groupnames for predefined macros. Please assist.
Service Groups: %SERVICEGROUPNAMES%
%servicegroupnames%
I'm trying to put in a macro in our email template to get the information of the service groups the monitored service is part off, I have added the macro $SERVICEGROUPNAMES$ to my email (in different formats like - $SERVICEGROUPNAMES$, %SERVICEGROUPNAMES%,%servicegroupnames%) but when the notification is sent out we don't see the relevant information instead we have the macro in the email as shown below. Did I use a wrong macro? I referring the link - http://nagios.sourceforge.net/docs/3_0/ ... groupnames for predefined macros. Please assist.
Service Groups: %SERVICEGROUPNAMES%
%servicegroupnames%