-
Change Request
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
None
I would like Zabbix to support using macro functions inside of discovery overrides.
My use case is that we embed certain information (customer account number, service delivery type, service/support level, etc) about a network interface inside of an interface description (IFALIAS). I would use to use overrides to do conditional tagging of customer facing interfaces.
For example, if an override rule has a regex match that detects a customer account number, it would create an tag named account and use the regsub macro function to extract that account number into the account tag value. However there are other interfaces on the box that are not customer facing (management interfaces) where we don’t want an account tag to be present. Right now I need to use separate discovery rules to capture and tag both types of interfaces appropriately. Having a single rule with a list of conditional overrides would be administratively easier to manage and update.