Ad Widget

Collapse

Error when creating Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thorra
    Junior Member
    • Feb 2005
    • 9

    #1

    Error when creating Trigger

    When i want to create a trigger with " {Srv_test:system[procload].last(0)}>5 " as expression this error message appear : [ERROR:Invalid trigger expression].
    The server "Srv_test" exist and the item system[procload] is active.
    Where is my error ??? I search in forums and in the documentation and i don't see what's wrong .

    (Excuse me fo my poor english... I'm french )
  • thorra
    Junior Member
    • Feb 2005
    • 9

    #2
    I saw my error.
    There is simply a space character at the end of expression....

    Ok Ok... -->[]

    Comment

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

      #3
      Please, remove spaces. Note that starting from 1.1alpha11 trigger expressions will not be so sensible to the spaces.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • thorra
        Junior Member
        • Feb 2005
        • 9

        #4
        I remove spaces and it's ok now.
        Thanks for your response.

        Comment

        • thorra
          Junior Member
          • Feb 2005
          • 9

          #5
          Another question

          When i want to create a trigger with snmp Item this message appear :

          [ERROR:Invalid trigger expression]
          No such host (netopia) or monitored parameter (NetIn)

          Expression is (no space ) : {netopia:NetIn.min(300)}>100K

          The host "netopia" and Item "NetIn" both exist.
          What's wrong ?

          Comment

          • thorra
            Junior Member
            • Feb 2005
            • 9

            #6
            I saw my error. I did not fill the "key" field well (i put the OID instead of good name... )

            Comment

            • thorra
              Junior Member
              • Feb 2005
              • 9

              #7
              Excuse me for speaking myself

              Comment

              Working...