Macro SERVICEGROUPALIAS
Posted: Mon Jul 04, 2016 4:41 am
Hi,
is there any macro, which allows to send multiple servicegroup aliases by mail?
at this moment from the SERVICEGROUPALIAS macro description:
The long name / alias of either 1) the servicegroup name passed as an on-demand macro argument or 2) the primary servicegroup associated with the current service (if not used in the context of an on-demand macro). This value is taken from the alias directive in the servicegroup definition.
We would like nagios to send multiple servicegroup aliases if one service belongs to multiple servicegroups if this service is being affected. At this moment it seems, that we're getting only first servicegroup, when mail is sent.
At this moment the only available macro for this is SERVICEGROUPNAMES which is not exactly we would like to use.
or is there any way to create such an alias?
Nagios® Core⢠3.2.3
is there any macro, which allows to send multiple servicegroup aliases by mail?
at this moment from the SERVICEGROUPALIAS macro description:
The long name / alias of either 1) the servicegroup name passed as an on-demand macro argument or 2) the primary servicegroup associated with the current service (if not used in the context of an on-demand macro). This value is taken from the alias directive in the servicegroup definition.
We would like nagios to send multiple servicegroup aliases if one service belongs to multiple servicegroups if this service is being affected. At this moment it seems, that we're getting only first servicegroup, when mail is sent.
At this moment the only available macro for this is SERVICEGROUPNAMES which is not exactly we would like to use.
or is there any way to create such an alias?
Nagios® Core⢠3.2.3