Ad Widget

Collapse

Triggers problems (1.3.4)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eran
    Member
    • Apr 2007
    • 36

    #1

    Triggers problems (1.3.4)

    Two problems with triggers:
    1. When creating a trigger with a dot in the expression the expression parsing breaks, which causes the SQL insert to fail. When parsing the expression should look for the last dot, not the first one.
      For example:
      {Newman_t: perf_counter[\ASP.NET Applications(__Total__)\Requests Total].avg(3)}>10
      The result is:
      Error in query [insert into functions (functionid,itemid,triggerid,function,parameter) values (11707,,12481,'NET Applications','__Total__')] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '12481,'NET Applications','__Total__')' at line 1]
    2. A minor problem - When using the insert button to insert a trigger expression for an item that contains a backslash, the backslash is removed when placed in the expression textbox. Any windows performance counter item is a good example of this.


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

    #2
    Thanks for reporting this. Fixed!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...