Ad Widget

Collapse

Aggregate Item and Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    Aggregate Item and Trigger

    Hello all:

    We have a storage device that returns some SNMP information, for example:

    vol01:Name = "My Test Volume"
    vol01:Size = 10000 (MB)
    vol01:Used = 2500 (MB)

    You can see in the above example that the volume is 25% used or 75% free, depending on how you look at it . What I need to do now is:
    1. I need an item to calculate either the percentage used or free on this volume
    2. create a trigger if free percentage is less than 10% or percentage used is more than 90% (take your pick)
    3. this may be a stretch but I would love for the trigger email to say something like {HOSTNAME} Free Disk Space Low on {vol01:Name.value()}


    I am at a loss on how to do this, can this be done with zabbix? I am guessing this would be done with aggregate items but I have no idea how to get this going.

    Thanks for any help!
  • Rudd
    Member
    • Mar 2011
    • 69

    #2
    Hello,

    You can create a Calculated item that looks like this:

    100*(last("vol01:Used")/last("vol01:Size"))

    Then add any trigger for that item.

    Comment

    Working...