I am currently creating templates for monitoring a large server landscape. Is there a way to use macros (if possible self-defined) in the key of an item? My problem is, that the keys of the items are highly dynamic e.g.
jmx[jboss.web:name=ajp-IP_ADDRESS-8009,type=GlobalRequestProcessor][requestCount]
In this item I want to set the IP and the Port dynamically, becaus it should be used by many hosts having a different configuration. What is the preferred way to do this? Can I use the template for it? I noticed that the default macros are not working in the key (e.g. {IPADDRESS}.
Thanks,
Marek
jmx[jboss.web:name=ajp-IP_ADDRESS-8009,type=GlobalRequestProcessor][requestCount]
In this item I want to set the IP and the Port dynamically, becaus it should be used by many hosts having a different configuration. What is the preferred way to do this? Can I use the template for it? I noticed that the default macros are not working in the key (e.g. {IPADDRESS}.
Thanks,
Marek
Comment