AIX, the Wizard, and NCPA listener
Posted: Thu Dec 14, 2023 10:43 am
Hey all,
I am trying to pull in some AIX servers using NCPA via the wizard, and 18 of the 130 I have done are having issues. They don't see the mount points, the processes, etc. They are all on the same OS level, have the same patches, etc.
This is the error.
2023-12-14 09:45:14,506 13435334 INFO ::ffff:10.15.14.86 - - [2023-12-14 09:45:14] "GET /api/interf
ace?token=XXXX HTTP/1.0" 500 2381 0.051287
2023-12-14 09:45:14,531 13435334 DEBUG Initializing WebSocket
NFO ::ffff:10.15.14.86 - - [2023-12-14 09:45:14] "GET /api/interf
ace?token=unix_rules HTTP/1.0" 500 2381 0.051287
2023-12-14 09:45:14,531 13435334 DEBUG Initializing WebSocket
2023-12-14 09:45:14,531 13435334 DEBUG Validating WebSocket request
2023-12-14 09:45:14,534 13435334 ERROR Exception on /api/disk [GET]
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
File "/opt/freeware/lib/python2.7/site2023-12-14 09:45:14,531 13435334 DEBUG Validating WebSocket
request
2023-12-14 09:45:14,534 13435334 ERROR Exception on /api/disk [GET]
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_reques
t
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exceptio
n
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_reques
t
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
File "/tmp/test/ncpa/agent/listener/server.py", line 185, in token_auth_decoration
File "/tmp/test/ncpa/agent/listener/server.py", line 931, in api
File "/tmp/test/ncpa/agent/listener/psapi.py", line 279, in getter
File "/tmp/test/ncpa/agent/listener/psapi.py", line 260, in refresh
File "/tmp/test/ncpa/agent/listener/psapi.py", line 230, in get_root_node
File "/tmp/test/ncpa/agent/listener/psapi.py", line 185, in get_disk_node
File "/opt/freeware/lib/python2.7/site-packages/psutil/__init__.py", line 2133, in disk_partition
s
File "/opt/freeware/lib/python2.7/site-packages/psutil/_psaix.py", line 186, in disk_partitions
OSError: [Errno 13] Permission denied
I've compared a server that has no issues to the others and I don't see what is wrong. Any help would be appreciated.
I am trying to pull in some AIX servers using NCPA via the wizard, and 18 of the 130 I have done are having issues. They don't see the mount points, the processes, etc. They are all on the same OS level, have the same patches, etc.
This is the error.
2023-12-14 09:45:14,506 13435334 INFO ::ffff:10.15.14.86 - - [2023-12-14 09:45:14] "GET /api/interf
ace?token=XXXX HTTP/1.0" 500 2381 0.051287
2023-12-14 09:45:14,531 13435334 DEBUG Initializing WebSocket
NFO ::ffff:10.15.14.86 - - [2023-12-14 09:45:14] "GET /api/interf
ace?token=unix_rules HTTP/1.0" 500 2381 0.051287
2023-12-14 09:45:14,531 13435334 DEBUG Initializing WebSocket
2023-12-14 09:45:14,531 13435334 DEBUG Validating WebSocket request
2023-12-14 09:45:14,534 13435334 ERROR Exception on /api/disk [GET]
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
File "/opt/freeware/lib/python2.7/site2023-12-14 09:45:14,531 13435334 DEBUG Validating WebSocket
request
2023-12-14 09:45:14,534 13435334 ERROR Exception on /api/disk [GET]
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_reques
t
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exceptio
n
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_reques
t
File "/opt/freeware/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
File "/tmp/test/ncpa/agent/listener/server.py", line 185, in token_auth_decoration
File "/tmp/test/ncpa/agent/listener/server.py", line 931, in api
File "/tmp/test/ncpa/agent/listener/psapi.py", line 279, in getter
File "/tmp/test/ncpa/agent/listener/psapi.py", line 260, in refresh
File "/tmp/test/ncpa/agent/listener/psapi.py", line 230, in get_root_node
File "/tmp/test/ncpa/agent/listener/psapi.py", line 185, in get_disk_node
File "/opt/freeware/lib/python2.7/site-packages/psutil/__init__.py", line 2133, in disk_partition
s
File "/opt/freeware/lib/python2.7/site-packages/psutil/_psaix.py", line 186, in disk_partitions
OSError: [Errno 13] Permission denied
I've compared a server that has no issues to the others and I don't see what is wrong. Any help would be appreciated.