On Apr 6, 2009, at 9:13 AM, Andre Timmermann wrote: > Hello lIST, > > I want to use the macro $NOTIFICATIONISESCALATED$ in my > notifications, I > want to have it displayed within my jabber-notifications. > > Unfortunately this macro seemes not to work: > > Notification Type: PROBLEM > Service: ssh > Host: somehost > State: CRITICAL for 0d 0h 0m 52s > Address: 192.168.0.100 > Info: Connection refused > Date/Time: Mon Apr 6 16:05:19 CEST 2009 > ACK by: > Comment: > Escalated: $
This may indicate you have a typo in the macro name. Can you post the full notification command you are using? What version of nagios are you using? This macro is only valid for nagios-3.x. > I have enable_environment_macros=1 in my config. Is your notification script trying to access the value of the macro through environment variables? This would be unusual and would point to a different direction to look other than simple macro substitution. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null