Ad Widget

Collapse

How to add this trigger ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Queuer
    Junior Member
    • Jun 2008
    • 3

    #1

    How to add this trigger ?

    Got a simple question (I hope), searched some SNMP threads but didnt find the answer to my problem...

    I have a snmp trap, its working, I receive values then set it back to '' (two single quotes)

    I want to add something like this:
    When snmptrap is not '' -> TRIGGER ON -> SEND MAIL

    The problem is the TRIGGER:
    {myHost:snmptraps.str('')}=0
    Its not working.

    tried this too:
    {myHost:snmptraps.last(0)}=''
    but it fails, maybe I have to escape these single quotes... it wont let me add this trigger.

    Any ideas on how to do that ?

    Thx.
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    You've run into a real funny exception

    Try excaping it as {myHost:snmptraps.str('''')}=0

    Comment

    Working...