Windows Eventlog with arguments

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
edikus
Posts: 1
Joined: Fri Apr 10, 2020 4:21 pm

Windows Eventlog with arguments

Post 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
Locked