Ad Widget

Collapse

entering exceptions into trigger rules to not get notified on port down events

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesj711
    Junior Member
    • May 2024
    • 6

    #1

    entering exceptions into trigger rules to not get notified on port down events

    Hi Guys,

    New to Zabbix and trying to do something I thought would be farily easy, but it's just not working.


    Our Cisco switches are part of the Cisco host group, and we get alerted whenever anything happens. However, we'd like to not get alerted when an un-named Gigabit port goes down.

    We created and tested the following Regex:

    Gi\d+/\d+/\d+\(\): Link down

    This is entered as a Regular exprssioin in the admin section and it tests fine. Expression type is "Result is TRUE"
    We enter it in the Trigger Actions as below:

    Click image for larger version

Name:	image.png
Views:	219
Size:	70.9 KB
ID:	483374

    But it just doesn't work! If I hard code the entry (for example to "Interface Gi1/0/45(): Link down​") then that works when a 1/0/45 port goes down, just not when the Regex is in place. We tried without the "" and we tried entering the Regex directly in the Conditions, no joy.

    How can such a simple thing not work and how do we get this working please? We would still like to know when our TenGig interfaces go down, as those are trunks.

    Thanks for reading!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    What version of zabbix? I don't even have such option as "trigger name" in v6.0... Seems like 5.0something

    But one thing is, that "contains/does not contain" option is for comparing to string not comparing to regex...
    places where you can compare to regex are "matches/does not match"..

    Comment

    • jamesj711
      Junior Member
      • May 2024
      • 6

      #3
      It's 6.2.3 and here are my options:
      Click image for larger version

Name:	image.png
Views:	144
Size:	33.9 KB
ID:	483416
      I don't have any option to match/not match.

      I don't mind how I achieve my aim, I just want all the emails to stop!! Any help appreciated

      Comment

      • jamesj711
        Junior Member
        • May 2024
        • 6

        #4
        Is anyone able to assist please?

        Comment

        • jamesj711
          Junior Member
          • May 2024
          • 6

          #5
          Really? No-one knows how to stop Zabbix from emailing me when a Gigabit interface goes down?

          Comment

          • vijayk
            Senior Member
            • May 2023
            • 305

            #6
            Originally posted by jamesj711
            Really? No-one knows how to stop Zabbix from emailing me when a Gigabit interface goes down?


            You can check with contain "Link Down"

            I don't know if it works but it check only string so I suggest.

            Comment

            • jamesj711
              Junior Member
              • May 2024
              • 6

              #7
              We want to keep the 10 gig link down events being emailed to us, so this won't work for us.

              Am completely surprised there isn't a solution within Zabbix for this! Am also completely surprised that Regex isn't allowed in Trigger action settings.

              We have achieved our aim by passing that regex to our mail relay. Thanks to everyone for your contributions

              Comment

              Working...