Ad Widget

Collapse

[How to?] Trigger - Sum of results in different hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flaviof
    Junior Member
    • Mar 2013
    • 1

    #1

    [How to?] Trigger - Sum of results in different hosts

    Hi,

    My question is how could I create a trigger that alarm if the sum of results in differents hosts > 800

    Ex:
    Host01 - item STATUS CODE return value 400 (by a script created)
    Host02 - item STATUS CODE return value 400 (by a script created)
    Host03 - item STATUS CODE return value 200 (by a script created)
    Host03 - item STATUS CODE return value 400 (by a script created)

    Is it possible ? Something like that ?
    Code:
     sum { [(host01:Status Code) + (host02:Status Code) + (host03:Status Code) + (host04:Status Code)].last(0)} > 800}
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    Check out aggregated checks:
    https://www.zabbix.com/documentation...ypes/aggregate and build you trigger on that.
    BR
    Erik

    Comment

    Working...