Page 1 of 1

NCPA_listener logon as

Posted: Thu Oct 15, 2020 6:56 am
by occ
Hi,
we need to run NCPA_Listener on a Windows machine not with the default local\system user but instead as a different domain user.

We'd like to know what level of permission the account should have.

This is because we've encountered an issue on a machine where we tryed to start the service with an account in the "power user" group but it refused to start.
When we moved the user to local admin it immediately starterd.

Re: NCPA_listener logon as

Posted: Thu Oct 15, 2020 5:30 pm
by benjaminsmith
Hi,

Were there any errors when you tried to start the service? Also, check the following log for any errors and let us know what you find. Thanks, Benjamin

Code: Select all

C:\Program Files (x86)\Nagios\NCPA\var\log

Re: NCPA_listener logon as

Posted: Fri Oct 23, 2020 5:26 am
by occ
Hi,
inside ncpa_listener.log we find only some repeated entryies :

Code: Select all

2020-10-14 13:49:07,575:WARNING:pluginnodes:Unable to access directory C:\Program Files (x86)\Nagios\NCPA\plugins\
.ps1 = c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -File $plugin_name $plugin_args
2020-10-14 13:49:07,575:WARNING:pluginnodes:Unable to assemble plugins. Does the directory exist? - WindowsError(123, 'The filename, directory name, or volume label syntax is incorrect')

Re: NCPA_listener logon as

Posted: Fri Oct 23, 2020 4:58 pm
by cdienger
I would check out https://docs.microsoft.com/en-us/window ... em-account which has deteails on the permissions of the LocalSystem account. Use this as a template for creating another account to run the process.