[omd-users] Includ hostgroup name in notification

Bruno Marsal bruno at marsal.biz
Sun Jun 28 15:46:58 CEST 2015


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:schulte.marcel at gmail.com] 
Sent: Sunday, June 28, 2015 1:02 PM
To: Bruno Marsal; omd-users at lists.mathias-kettner.de
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 <bruno at marsal.biz <mailto:bruno at marsal.biz> > 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
omd-users at lists.mathias-kettner.de <mailto:omd-users at lists.mathias-kettner.de> 
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20150628/6a0a7ccd/attachment.html>


More information about the omd-users mailing list