Page 1 of 1

Windows Eventlog with arguments

Posted: Sun Dec 26, 2021 4:57 pm
by edikus
Hi,

is it possible to monitor Microsoft Windows Event IDs made by using check_nrpe with the agent NSClient++. and some arguments.

It looks like the arguments $ARGX$ used in the command are not accepted by nagios.

$USER1$/check_nrpe -H $HOSTADDRESS$ -c checkEventLog -a file=$ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated'=>$ARG4$' filter=out filter=all filter+eventID=="$ARG5$" truncate=1000 unique descriptions "syntax=%type%: %source%: (%count%)"

I tried this doc. https://support.itrsgroup.com/hc/en-us/ ... ventlog-ID

Best Regards
Eduard