Which user is executing the CheckMK agent and local checks/scripts?


I’m trying to monitor some Active Directory attributes on my DC and wrote a local check for that (%PROGRAMDATA%\checkmk\agent\local). But my counters are just empty in CheckMK.
Local execution via PowerShell is working. So it looks like a privilege problem for me.

Which user is executing my script in case of the CheckMK agent? Is it the system user?

PS: Nice new forum here :slight_smile:


Have you tried to run “check_mk_agent test” and see if get desired output ?
Yes, normally is system user (Local system).

1 Like