NSClient++ Help (#1) - CheckEventLog Output (#745) - Message List

CheckEventLog Output

Hi,

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?

  • Message #2078

    Anyone?

  • Message #2079

    What output do you expect? If everything is "ok" it will not report errors?

    Michael Medin

    • Message #2091

      Well, there are entries that match the check and I wanted to be returned the number of occurances.

      • Message #2092

        Well, given the output there is nothing matching the query. So presumably the query is not working. Which event is it that does not match?

Subscriptions