You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NCPA built-in Windows log check only works with logs at the root of Event Viewer, not under any subfolders. Issue #948 describes this for a certain log, but it appears to be with any log in a subfolder.
I have tried variations but they have not worked ./check_ncpa.py -H <hostname> -P 5693 -t '<your token>' -M 'logs' -q 'name=Laserfiche-Directory Service-Server/Operational ./check_ncpa.py -H <hostname> -P 5693 -t '<your token>' -M 'logs' -q 'name=Laserfiche-Directory Service-Server%4Operational'
This appears to be similar to how the 2 different Powershell commands Get-WinEvent vs Get-EventLog Get-WinEvent -LogName "Laserfiche-Directory Service-Server/Operational" -MaxEvents 1 - returns the desired result
Get-EventLog -AsString -List - this returns only the root level logs and does not recognize those in subfolders
The text was updated successfully, but these errors were encountered:
The NCPA built-in Windows log check only works with logs at the root of Event Viewer, not under any subfolders. Issue #948 describes this for a certain log, but it appears to be with any log in a subfolder.
See forum post: https://support.nagios.com/forum/viewtopic.php?p=357809
I have tried variations but they have not worked
./check_ncpa.py -H <hostname> -P 5693 -t '<your token>' -M 'logs' -q 'name=Laserfiche-Directory Service-Server/Operational
./check_ncpa.py -H <hostname> -P 5693 -t '<your token>' -M 'logs' -q 'name=Laserfiche-Directory Service-Server%4Operational'
This appears to be similar to how the 2 different Powershell commands Get-WinEvent vs Get-EventLog
Get-WinEvent -LogName "Laserfiche-Directory Service-Server/Operational" -MaxEvents 1
- returns the desired resultGet-EventLog -AsString -List
- this returns only the root level logs and does not recognize those in subfoldersThe text was updated successfully, but these errors were encountered: