Im trying to monitor a specific event with the icinga-for-windows PowerShell-Framework. The command im trying to use is Invoke-IcingaCheckEventlog but i cant’t get it to work propertly
The Event is Microsoft-Windows-SMBServer/Audit with ID 3000 (SMB1 access)
This is the command im using
Invoke-IcingaCheckEventlog -LogName "Microsoft-Windows-SMBServer\Audit" -IncludeEntryType Information -Verbosity 2
I tried severel different arguments (-before, -after, - IncludeEventID, etc.) without any success - it always finds 0 entries. Trying it without the -LogName argument also fails despite it schouldn’t be mandatory
Hi,
thanks for your suggestions but sadly they didn’t help.
The output with -DisableTimecache stays the same and changing the \ to / results in the plugin not finding the Eventlog at all - see screenshot below:
Ah, that is the reason why it is not working. We use Get-WinEvent starting with Plugins v1.5.0.
Iassume this is the reason why this does not work. Would it be possible to update to 1.5.2 / 1.5.1 and check if this behavior is fixed?