It seems extremely tedious, time consuming and error prone to have to explicity define members of a service group using:
Is it possible to use wildcard matching on the host names (or host groups)?
I have already set
use_regexp_matching=1 but the following will not work:
alias Cpu Load on mlb servers
members mlb-.*,CPU Load
Returns the following error:
Error: Service ‘CPU Load’ on host ‘mlb-.*’ specified in service group ‘cpu-load-mlb’ is not defined anywhere!
I have also tried using a host group name instead of a wildcard for the host members but I can’t get that to work either. Any ideas if there is a shortcut or do I have to do it the long way every time?