Ok so I have spent hours on this and I just don't understand.
I have created 2 items based on snmp requests:
Inbytes:
interfaces.ifTable.ifEntry.ifInOctets.6
Outbytes:
interfaces.ifTable.ifEntry.ifOutOctets.6
They work just fine individually.
So now all I want to do is create a 3rd item and add these two values together
TotalBytes:
interfaces.ifTable.ifEntry.ifInOctets.6+interfaces .ifTable.ifEntry.ifOutOctets.6
This does not work, I've tried formulas with last() in multiple different, I just can't get it to work, the documentation doesn't help, it only references calculations using zabbix agent values, there are 0 examples of snmp calculations.
Could someone please help me figure out the correct syntax, I'm tearing my hair out here.
And to whoever writes the zabbix doc, you really need to include snmp examples in the calculation pages and in general, because it's really really lacking.
I have created 2 items based on snmp requests:
Inbytes:
interfaces.ifTable.ifEntry.ifInOctets.6
Outbytes:
interfaces.ifTable.ifEntry.ifOutOctets.6
They work just fine individually.
So now all I want to do is create a 3rd item and add these two values together
TotalBytes:
interfaces.ifTable.ifEntry.ifInOctets.6+interfaces .ifTable.ifEntry.ifOutOctets.6
This does not work, I've tried formulas with last() in multiple different, I just can't get it to work, the documentation doesn't help, it only references calculations using zabbix agent values, there are 0 examples of snmp calculations.
Could someone please help me figure out the correct syntax, I'm tearing my hair out here.
And to whoever writes the zabbix doc, you really need to include snmp examples in the calculation pages and in general, because it's really really lacking.
Comment