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
I tried to limit NCPA agent privilege in Windows server by using local os user for NCPA service.
The following command is what I do:
net user /add nagios Abcd1234
icacls "C:\Program Files\Nagios\NCPA"/grant "nagios:(OI)(CI)RX"/t
icacls "C:\Program Files\Nagios\NCPA\var"/grant "nagios:(OI)F"/t
sc.exe config "NCPA" obj=".\nagios" password="Abcd1234"### Grant ServiceLogonRight to OS user - nagios."C:\Program Files\Nagios\NCPA\plugins\AddServiceLogonRight.ps1"."C:\Program Files\Nagios\NCPA\plugins\ListServiceLogonRight.ps1"
The result is positive and functional. But there is only one problem. The following error prompt in 'C:\Program Files\Nagios\NCPA\var\log\ncpa_listener.txt'
2025-03-28 00:23:38,464 listener ERROR [WinError 259] No more data is available: '(originated from WTSEnumerateSessionsW)'
Traceback (most recent call last):
File "listener\psapi.py", line 442, in get_root_node
File "listener\psapi.py", line 403, in get_user_node
File "psutil_init_.py", line 2377, in users
File "psutil_pswindows.py", line 491, in users
OSError: [WinError 259] No more data is available: '(originated from WTSEnumerateSessionsW)'
I tried to search the solution in google. But not much reference I can found.
I want to know why ncpa call this function, I didn't monitor Remote Desktop Session in my nagios
The text was updated successfully, but these errors were encountered:
I tried to limit NCPA agent privilege in Windows server by using local os user for NCPA service.
The following command is what I do:
The result is positive and functional. But there is only one problem. The following error prompt in 'C:\Program Files\Nagios\NCPA\var\log\ncpa_listener.txt'
2025-03-28 00:23:38,464 listener ERROR [WinError 259] No more data is available: '(originated from WTSEnumerateSessionsW)'
Traceback (most recent call last):
File "listener\psapi.py", line 442, in get_root_node
File "listener\psapi.py", line 403, in get_user_node
File "psutil_init_.py", line 2377, in users
File "psutil_pswindows.py", line 491, in users
OSError: [WinError 259] No more data is available: '(originated from WTSEnumerateSessionsW)'
I tried to search the solution in google. But not much reference I can found.
I want to know why ncpa call this function, I didn't monitor Remote Desktop Session in my nagios
The text was updated successfully, but these errors were encountered: