Ad Widget

Collapse

Bug? Calculated item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #1

    Bug? Calculated item

    Hi,

    I'm trying to add a calculated item that gets tha MAX item value from another host in order to do some conculations (zabbix 1.8.2 - centos 5.5)

    So I created an item with the following:
    host:hostA
    type:calculated
    key:xpto
    expression:max("hostB:monitoredItem")


    Notice that I'm adding an item in hostA, trying to get a value from hostB.

    But, when zabbix tries to get it, I got the following error msg: Can not evaluate function [max()]

    If I change the expression to last("hostB:monitoredItem") it works.

    Reading zabbix manual, it states that I can use anyone of the functions supported by triggers, that includes max.

    So my question is: Am I missing something? Why max isn't working?

    TIA,

    Bob
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    looks like you are missing a parameter for max, one that defines at how long period it should look at
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...