Ad Widget

Collapse

regexp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #1

    regexp

    I'm trying to use windows eventlog monitoring with 1.8.1.

    If I specify something like eventlog[System,,Error], it works. But, I would like to filter it. I would like that zabbix could retry just a small set of the errors.

    So, I think, this is way zabbix team implemented regex support (eventlog[name<,regexp><,severity><,source><,eventid><,maxlines><,mode>]).

    I'm not an expert in regular expression, far from that. I googled and I found lot's of controversy about negate strings. The most common solution that I found is to use something like ^(?!.*bar).*$ (in my case I don't want events related with "printer", so, I created a item:

    eventlog[System,^(?!.*printer).*$,Error]

    But, this isn't working. Nothing is retrieved.

    Does someone has any idea how to do that?

    TIA,

    Bob

    Obs.: this site has good information http://wiki.tcl.tk/989
    Last edited by bobrivers; 24-02-2010, 19:45. Reason: addtional info
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #2
    nobody?

    up!

    I exchange this help with one that I have in order to integrate zabbix with microsoft baseline security analyzer!!!

    Comment

    • bobrivers
      Senior Member
      • Feb 2007
      • 115

      #3
      Nobody, but

      Nobody replied, but anyway, I posted in the cookbook section how I did the integration between zabbix and mbsa.

      Comment

      • Jun.Liu
        Member
        • Apr 2007
        • 91

        #4
        it's a good idea.

        Comment

        Working...