I have managed to create a discovery rule and item prospects that gets data via SNMP from Cisco switches. As an example I have allocated stackpower, four switches in a stack consumes about 243 watts each. The key for the item prospects is stackpower.allocated.[{#SNMPINDEX}].
I want to sum() the values, in this case four of them, to a power consumption value for the whole switch stack. My plan was to use a calculated item for this. But the item keys has a macro in it, I'm not sure how to summarize the values in a dynamic range of items. How do I solve this?
Running Zabbix 6.4 on Linux, no proxy, collecting data via SNMPv3.
Thanks.
I want to sum() the values, in this case four of them, to a power consumption value for the whole switch stack. My plan was to use a calculated item for this. But the item keys has a macro in it, I'm not sure how to summarize the values in a dynamic range of items. How do I solve this?
Running Zabbix 6.4 on Linux, no proxy, collecting data via SNMPv3.
Thanks.
Comment