Ad Widget

Collapse

[1.3.9 r4160] web interface refuses to validate str() function!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Farzad FARID
    Member
    • Apr 2007
    • 79

    #1

    [1.3.9 r4160] web interface refuses to validate str() function!

    Hi,

    I'm trying to compare a TEXT item to a string, for this I'm using str() in the trigger.

    But the web interface refuses to validate the syntax of the trigger expression and says that it is expecting a float instead of a string!

    The expression I want to use is:
    Code:
    {Test_t:test.enginemanager.str(OK,OK,OK)}#0
    And when I click on "save" I get this error:
    Code:
    [ERROR: Cannot update trigger]
    
        * [OK,OK,OK] is not a float
    I think there is an error in the validation code.

    Regards
  • 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...