Hi guys!
I have a simple task and I need your help.
I have a template that monitors storage performance.
In template I have an autodiscovery rule, that creates dynamic list of items, e.g. IOPS values for each LUN of the storage
storage.iops[lun,0]
storage.iops[lun,1]
storage.iops[lun,2]
...
Now I need to have one new item, that sums values of the dynamic list of items. Aggregate items are not solving my problem - grpsum works for sum of values from multiple HOSTS (not for one host).
Thus I need to create calculated item, that sums values of autodiscovered items. By now my formula looks like: last("storage.iops[lun,0]")+last("storage.iops[lun,1]")+....
But that's a manual approach - I always should watch for changes of the list of autodiscovered items and to change my formula accordingly.
What I need is something like:
SUM("storage.iops[lun,*]")
I know, that this syntax is not correct, but really what are my options ?
I have a simple task and I need your help.
I have a template that monitors storage performance.
In template I have an autodiscovery rule, that creates dynamic list of items, e.g. IOPS values for each LUN of the storage
storage.iops[lun,0]
storage.iops[lun,1]
storage.iops[lun,2]
...
Now I need to have one new item, that sums values of the dynamic list of items. Aggregate items are not solving my problem - grpsum works for sum of values from multiple HOSTS (not for one host).
Thus I need to create calculated item, that sums values of autodiscovered items. By now my formula looks like: last("storage.iops[lun,0]")+last("storage.iops[lun,1]")+....
But that's a manual approach - I always should watch for changes of the list of autodiscovered items and to change my formula accordingly.
What I need is something like:
SUM("storage.iops[lun,*]")
I know, that this syntax is not correct, but really what are my options ?