Ad Widget

Collapse

Regexp problem in 1.8.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sege
    Member
    • Jan 2008
    • 40

    #1

    Regexp problem in 1.8.3

    Just upgraded to 1.8.3 from 1.6 and now every trigger with regexp in it fails.

    I have this trigger:
    "({Template_HP_Procurve:ifAlias1.regexp([[:alnum:]])}=0)&({Template_HP_Procurve:ifOperStatus.1.last(0 )}<2)"

    It worked fine in 1.6 but now it's falsely a 'PROBLEM'.

    I tried regexp in regexp try thingien in GUI. I think at least some of them should work?
    Attached Files
  • sege
    Member
    • Jan 2008
    • 40

    #2
    Richlv says I'm not using the reg exp try out right, that might be ooh so true.

    If I'm using 'RESULT is TRUE' it gives me what I want. But that's actually not the problem.

    This is the problem:
    {Template_HP_Procurve:ifAlias1.regexp([[:alnum:]])}=0)

    That wont work and it did in 1.6.

    Comment

    • sege
      Member
      • Jan 2008
      • 40

      #3
      The regexp function seemed to have changed its behavior.

      regexp([[:alnum:]])}=0) wont work but regexp([[:alnum:]],0)}=0 does.

      Regards,
      Johan

      Comment

      • sege
        Member
        • Jan 2008
        • 40

        #4
        Well, wrong of me. I still can't get my original problem solved actually. What's wrong with? Someone?

        Comment

        • trikke
          Senior Member
          • Aug 2007
          • 140

          #5
          how about:

          regexp([:alnum:])}=0 ???


          Greets
          Patrick

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            Zabbix 3.0 Network Monitoring book

            Comment

            Working...