Ad Widget

Collapse

Zabbix Calculate Item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • average_joe
    Junior Member
    • Nov 2017
    • 2

    #1

    Zabbix Calculate Item

    Hello. I'm trying to calculate the sum of interface usage values from a Juniper router. Each of these interfaces has their own items monitoring `ifInOctets` and `ifOutOctets` values. However, when creating a calculated item, the result is a value of zero.

    Here's my calculated items configuration:
    Type: Calculated
    Key: traffic_sum
    Formula: last("ifInOctets[st0.1]")+last("ifInOctets[st0.2]")+last("ifInOctets[st0.3]")+last("ifInOctets[st0.4]")
    Type of Information: Numeric
    Data Type: Decimal
    Units: bps
    Use Custom Multiple: 8
    Store Value: Delta (speed per second)
    Show Value: As Is

    I'm running Zabbix 3.2.6. Can anyone identify what's the cause?

    ~average_joe
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Hello,

    You don't need to set Change per second because Zabbix already operates with the per-second values. I believe you also don't need to use multiplier because you've already multiplied in ifInOctets item.

    Change those and recheck.

    Will wait for a response from you.

    Regards,
    Alex!

    Comment

    • average_joe
      Junior Member
      • Nov 2017
      • 2

      #3
      Alex,
      Thank you...that resolved the problem. The primary issue was the per-second value being set. Hadn't considered that.

      Comment

      Working...