Ad Widget

Collapse

Getting value of trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregober
    Junior Member
    • Jan 2009
    • 6

    #1

    Getting value of trigger

    Hello,

    I have a trigger which is supposed to return a value (float).

    Code:
    {FWA_XXX_SNMP:pfStateTableCount.last(0)}/{FWA_XXX_SNMP:pfLimitsStates.last(0)}>0.7
    I would like to know if there is a place where I can actually see the value returned by this trigger in the GUI ? This would allow me to validate the calculation made in the trigger.


    I would also like to know if there is a way to display this value on the e-mail sent. I have been following the online guide and ended up with a

    Code:
    State Table occupied at : (*UNKNOWN*/*UNKNOWN**100)%
    I have used the same calculation to create a new "actions"…*?

    Everything is based on SNMP.
  • herta
    Senior Member
    • Sep 2011
    • 101

    #2
    A trigger doesn't return a value as such. It calculates or checks a value and compares it to another value. If the comparison is true, the trigger fires.

    You can check the values of the individual items e.g. in Monitoring -> Latest Data (where you can also find the history for the items), and then do the math yourself.

    And yes, in Configure -> Actions you can define which message to send - including the values of the different items. The defaults defined in Zabbix 2.0.4 work for me.

    Comment

    Working...