Opened 5 years ago

Closed 5 years ago

Last modified 23 months ago

#119 closed task (fixed)

a Uniq-argument in CheckEventLog

Reported by: marius.ensrud@… Owned by: anonymous
Priority: 1 Milestone:
Component: CheckSystem Version: 0.3.0
Severity: Feature Requests Keywords: uniq eventlog
Cc:

Description

Hi

What about having a argument i CheckEventLog.dll for returning uniq evnets

Nice when having hardware problems, like disk =)

Change History (3)

comment:1 Changed 5 years ago by anonymous

  • Owner changed from mickem to anonymous
  • Status changed from new to assigned

you mean to remove all duplicate "rows"?

MickeM

comment:2 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

Added in the latest nightly:

+ Added option "unique" to CheckEventLog If this is present only unique errors will be returned.

The uniqueness is defined by event-log, event-source, event-id and event-category.

 ./nrpe -H 192.168.0.147 -c checkEventLog -a truncate=1024 "syntax=%generated%: %message%" descriptions=true file=System MaxWarn=1 MaxCrit=1 filter+eventType==error filter=new filter=all filter=in unique

MickeM

comment:3 Changed 23 months ago by mickem

  • Version changed from 0.3.0-RC to 0.3.0
Note: See TracTickets for help on using tickets.