It appears to be impossible to use quoted arguments and user macros in aggregate functions.
I use user macros heavily to monitor a large number of agentless services. So I have lots of templates with items like this (but for various item types, not just "net.tcp.service.per"): net.tcp.service.perf["smtp","{$IP_ADDRESS}"]
What seems to be required is an escape character. Without the quotes around {$IP_ADDRESS} it derefs the macro, which then doesn't match against any item in the host group.
For more info please see my thread in the forum: http://www.zabbix.com/forum/showthread.php?t=19035
I use user macros heavily to monitor a large number of agentless services. So I have lots of templates with items like this (but for various item types, not just "net.tcp.service.per"): net.tcp.service.perf["smtp","{$IP_ADDRESS}"]
What seems to be required is an escape character. Without the quotes around {$IP_ADDRESS} it derefs the macro, which then doesn't match against any item in the host group.
For more info please see my thread in the forum: http://www.zabbix.com/forum/showthread.php?t=19035
Comment