NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

NCPA is it possible to check another log as Microsoft-Windows-Hyper-V-VMMS-Admin #948

Open R1d3rBG opened 1 year ago

R1d3rBG commented 1 year ago

Hello,

I'm trying to setup monitoring of the Microsoft-Windows-Hyper-V-VMMS-Admin log, but unfortunatly cant do it. /usr/local/nagios/libexec/check_ncpa.py -H HOST -t 'TOKEN -P 5693 -M 'logs' -q 'name=Microsoft-Windows-Hyper-V-VMMS-Admin,logged_after=120m' -c 0 Could you please help somehow?

cosmicgumbo commented 1 month ago

This is not only an issue with that specific log, it is with any logs that are not at the 'root' of the Event Viewer - anything that is in folders/subfolders.