Search code examples
linuxzabbix

zabbix monit switch,want to get interface 0/1's total traffic


zabbix formula

but the graph show me the data is incorrect.like this

data

My idea is to show the Incoming traffic, Outgoing traffic, total traffic, but I found that the total flow of data is incorrect, how to do?


Solution

  • now,I get one way to solve this question.
    e.g. Get total traffic on sw interface 0/1
    chose TYPE Calculated
    Formula: last(ifHCInOctets["1"])+last(ifHCOutOctets["1"])
    ifHCInOctets["1"] this key value determined by your seeting
    other:default