Ad Widget

Collapse

Add two items in one trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diegocito
    Junior Member
    • Jun 2007
    • 22

    #1

    Add two items in one trigger

    Hi all,

    I would like to have a trigger with the % of free disk (monitored by snmp).
    I have the items : disk_capacity & disk_used.
    That's why I would like to add a trigger with the following expression :
    {DNS_server:disk_used.max(60)}*100/{DNS_server:disk_capacity.max(60)}>0.9
    But this don't work, It threats the first, and then the second expression, but not all in one (I have two graphs, not one for example)...
    Is it possible to do this???

    Thanks
    Diegocito
  • diegocito
    Junior Member
    • Jun 2007
    • 22

    #2
    Up

    Up please, I really need this.

    Or doesn't exists a snmp oid which gives directly the free capacity of the hd??? (but I don't find it)

    Thanks
    Diegocito

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Originally posted by diegocito
      That's why I would like to add a trigger with the following expression :
      {DNS_server:disk_used.max(60)}*100/{DNS_server:disk_capacity.max(60)}>0.9
      But this don't work, It threats the first, and then the second expression, but not all in one
      What is your problem? Use this expression if unsure about operator precedence:

      ({DNS_server:disk_used.max(60)}*100)/({DNS_server:disk_capacity.max(60)}>0.9)
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...