Closed mmartinello closed 1 year ago
According to Icinga's documentation it runs under the network user by default. Check the setting descriptions under icinga.com/docs/icinga-2/latest/doc/06-distributed-monitoring/#agent-setup-on-windows-configuration-wizard That being said, I would recommend you to run it under the local system account as a lot of Linuxfabric's plugins need additional permissions to perform certain lookups.
Thank you @0x446!
Thank you @0x446!
This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
Disclaimer: this is not a bug, but I think that this could be documented to avoid missunderstandings.
I am running the Windows Icinga Agent on Windows Server 2019, which runs as
Network Service
:The Windows Updates
updates.exe
plugin is getting me an Access denied error:I think this could be due the fact that
Network Service
cannot access to theMicrosoft.Update.Session
PowerShell object.Is it correct to run Icinga with
Network Service
or it's better to run it as a local or domain user?Steps to reproduce - Plugin call
..\uupdates.exe
Steps to reproduce - Data
No response
Environment
Windows Server 2019
Plugin Version
updates.exe: v2023051201 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
No response
List of Python modules
No response
Additional Information
No response