Thanks for your reply!
I followed the steps from the check_wmi_plus webpage. Ths same account works for other check_wmi_plus commands, i.e., check_win_uptime, check_ts!sessions, check_win_mem, check_win_page, check_win_disk, check_win_cpudetail.
They were not much different than the document you included, the instructions on the site don't mention Performance Monitor Users group. To make sure that wasn't the issue I added the user to the Performance Monitor Users group.
I'm still showing 0 events although the logs actually have two errors from just 45 minutes ago.
I also ran this from the command line. When I run this command,
Code: Select all
/usr/local/nagios/bin/plugins/check_wmi_plus/check_wmi_plus.pl -H "**********" -u "*******" -p "*******" -m checkeventlog -a application, system -o 2 -3 24
The following output appears:
Code: Select all
/usr/local/nagios/bin/plugins/check_wmi_plus/check_wmi_plus.pl -H "**********" -u "*******" -p "*******"$USER8" -m checkeventlog -a application, system -o 2 -3 24
>
The only option I had at that point typing CTRL-C to break out of that and get back to the prompt. I tried the command without quotes around the host, user and passwords. In each of those cases I got a login error. This output is strange because it includes '$USER8$', which is the variable for username in the command. (I replaced $USER8$ with the actual username, hidden here for security purposes.)