Ad Widget

Collapse

Zabbix - General Regular expressions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ales Ulrych
    Member
    • Dec 2016
    • 36

    #1

    Zabbix - General Regular expressions

    Hello,
    i have problem with Regular Expressions.
    Disk Partitions Discovery creates many Items with MALLOC und UMA text in the name. These Items not want to Zabbix have, so I created Regular Expressions with Result is False (^.*MALLOC:.*|^.*UMA:.*)$ That if I make a test, everything is correct, but Zabbix me ever new Items with malloc creates a UMA. When I delete a moment while we are back.
    You advise me what am I doing wrong?

    Thanks a lot

    Ales
    Last edited by Ales Ulrych; 24-02-2017, 13:24.
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    Where do you apply your regexp?

    Comment

    • Ales Ulrych
      Member
      • Dec 2016
      • 36

      #3
      Originally posted by glebs.ivanovskis
      Where do you apply your regexp?
      I thought that when the General, applies everywhere. Am I wrong?

      Comment

      • glebs.ivanovskis
        Senior Member
        • Jul 2015
        • 237

        #4
        You can apply it in many places, but it is not applied until you explicitly ask Zabbix to do it.

        In your case you need to go to discovery rule configuration and set up Filters:

        Comment

        • Ales Ulrych
          Member
          • Dec 2016
          • 36

          #5
          Originally posted by glebs.ivanovskis
          You can apply it in many places, but it is not applied until you explicitly ask Zabbix to do it.

          In your case you need to go to discovery rule configuration and set up Filters:
          https://www.zabbix.com/documentation...evel_discovery
          If you want to be honest, I'm not from the wise. You please show me how you would set a filter to me it worked .. ?
          Last edited by Ales Ulrych; 24-02-2017, 13:52.

          Comment

          • Ales Ulrych
            Member
            • Dec 2016
            • 36

            #6
            Thank you, now I understand it, adjusted and functioning properly.

            I examined had done discovery for Windows services and understand how it works.

            Comment

            Working...