Hello,
We would like to use the $SERVICEGROUPALIAS$ variable in a notification command but it’s not working as expected; based on this documentation https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/macrolist.html#note5 (which is the redirected official one by Centreon (https://docs.centreon.com/docs/monitoring/basic-objects/macros/#standard-macros)), the macro $SERVICEGROUPALIAS$ should return the alias of the primary servicegroup associated with the current service but it doesn’t, we onlly have an empty value.
If we specify explicitly the ServiceGroup Name it’s OK, example : $SERVICEGROUPALIAS:windows$ but we have to use it dynamically but I don’t know if it’s possible and if yes what syntax works; I tried a lot like $SERVICEGROUPALIAS:$SERVICEGROUPNAME$$; $SERVICEGROUPALIAS:SERVICEGROUPNAME$; $SERVICEGROUPALIAS:$SERVICEGROUPNAME$ or with brackets and so on but nothing works!
For info we are on Centreon 22.10.4
Does anyone know how to get this?
Thanks!