How do I go about creating a calculated item that references aggregate items
For example, to create a calculated item whose result is all mail storage utilization (%) for all hosts in the "Mail Storage Hosts" hostgroup, this is what I tried:
100*last("grpsum["Mail Storage Hosts","mail.storage.used","last","0"]")/last("grpsum["Mail Storage Hosts","mail.storage.total","last","0"]")
...but it doesn't like that syntax. The goal is to only use hostgroups to specify hosts, and not hardcode host names into the calculation.
I feel like I am just missing something obvious.
For example, to create a calculated item whose result is all mail storage utilization (%) for all hosts in the "Mail Storage Hosts" hostgroup, this is what I tried:
100*last("grpsum["Mail Storage Hosts","mail.storage.used","last","0"]")/last("grpsum["Mail Storage Hosts","mail.storage.total","last","0"]")
...but it doesn't like that syntax. The goal is to only use hostgroups to specify hosts, and not hardcode host names into the calculation.
I feel like I am just missing something obvious.
Comment