Found the mail plugin at share/check_mk/notifications and added following

 

  ( "hostgroup", "both", True, "Hostgroup",

    "$HOSTGROUPNAMES$",

    "$HOSTGROUPNAMES$" ),

 

I am sure there is a nicer way doing this but it works for me for now and hope 
somebody will implement this + commit to master. Thanks very much for the hint, 
Marcel.

 

From: Marcel Schulte [mailto:[email protected]] 
Sent: Sunday, June 28, 2015 1:02 PM
To: Bruno Marsal; [email protected]
Subject: Re: [omd-users] Includ hostgroup name in notification

 

Hi Bruno,

Macros are your friend, watch here for macros available: 
http://nagios.sourceforge.net/docs/3_0/macrolist.html

Regards,
Marcel

 

Bruno Marsal <[email protected] <mailto:[email protected]> > schrieb am So., 28. 
Juni 2015 12:40:

Hi, can we configure the notification to include the hostgroup name in the 
notifications beeing sent?

 

By default there is

-       Host

-       Service

-       Event

-       Address

-       Date / Time

-       …

 

When receiving a notification mail it would be very helpful to know which 
hostgroup the host is child of.

 

Bruno

_______________________________________________
omd-users mailing list
[email protected] <mailto:[email protected]> 
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to