NSClient++ Help (#1) - CheckEventLog Output (#745) - Message List
I am trying to configure CheckEventLog to count the number of errors on a given service.
The command runs OK but provides no other output than:
Eventlog check ok
The command I am running is:
./check_nrpe -H xx.xx.xx.xx -pxxxx -c CheckEventLog file=Application "filter=source='Service Name' and generated > -1d AND severity='error'" MinWarn=0 MinCrit=10 unique descriptions "syntax=%source%: (%severity% event ID %id%) %message% (%count% events found)"
Can anyone help?
Anyone?nik.southworth02/22/11 15:15:37 (2 years ago)
What output do you expect? If everything is "ok" it will not report errors?
Michael Medinmickem02/22/11 20:01:23 (2 years ago)
Well, there are entries that match the check and I wanted to be returned the number of occurances.nik.southworth03/02/11 14:58:49 (2 years ago)