Hello,
my name is Sylvie and I'm new with Zabbix.
I have a problem with monitore the traffic of an interface on our wan-router (Cisco).
I want to know the traffic in an out like I did it before with mrtg.
I get the data per snmp for iso.3.6.1.2.1.2.2.1.10.1 ifinoctets and iso.3.6.1.2.1.2.2.1.16.1 ifoutoktets.
I've created a calculated item like this "((last(//ifInOctets[1])-last(//ifInOctets[1],#2))/60)*8" to get the bits/s between 2 values.
But the ifinoctets have a max value of 4294967296. So everytime, the max value is reached, the new value is smaller as the old value an the graph is goinig under NULL.
How can I fix this? Does Zabbix accept IF ELSE so that I can check if the new value is smaler like this?
IF new_value<old_value
THEN (4294967296-old_value+new_value)/60*8
ELSE (new_value-old_value)/60*8
Lg Sylvie
my name is Sylvie and I'm new with Zabbix.
I have a problem with monitore the traffic of an interface on our wan-router (Cisco).
I want to know the traffic in an out like I did it before with mrtg.
I get the data per snmp for iso.3.6.1.2.1.2.2.1.10.1 ifinoctets and iso.3.6.1.2.1.2.2.1.16.1 ifoutoktets.
I've created a calculated item like this "((last(//ifInOctets[1])-last(//ifInOctets[1],#2))/60)*8" to get the bits/s between 2 values.
But the ifinoctets have a max value of 4294967296. So everytime, the max value is reached, the new value is smaller as the old value an the graph is goinig under NULL.
How can I fix this? Does Zabbix accept IF ELSE so that I can check if the new value is smaler like this?
IF new_value<old_value
THEN (4294967296-old_value+new_value)/60*8
ELSE (new_value-old_value)/60*8
Lg Sylvie