|
The match string is a Regular Expression, and is matched against the message as appears in the Windows eventlog, not the final message as sent to Nagios (which has additional information added for the eventstatus, eventSource and eventID).
Looking at your messages, it seems to me you could use "NOT eventsource 'eTrust ITM'" (you can only specify ONE source string) to avoid these, or maybe "NOT eventid '8,137'"?
Also, these are Warning messages, it may be that you can use the status checkboxes to match just Errors if that is what you want?
Alternatively, you could set up two higher priority filters that match eventsource 'eTrust ITM' and eventsource 'Print' (possibly with the appropriate eventIDs as well) and set the service status to '4 Ignore' which simply drops the message without forwarding it on.
Which method you use depends on which messages you want to be forwarded on to Nagios and with what status. If you can be more specific about your requirements here I can let you know what I though would work best for you.
Steve
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|