NCPA - 2.1.1
Hello again everyone. I am encountering issues testing Performance Counter checks using the NCPA Agent. I am attempting to follow the documentation here https://support.nagios.com/kb/article/n ... a-491.html but upon testing I am receiving an HTTP 500 error from the endpoint. Using the -v flag the error code is posted below.
./check_ncpa.py -H Host -v -M 'windowscounters/Memory/Available%20MBytes' -w 500: -c 256:
Connecting to: https://host:5693/api/windowscounters/M ... 3A&check=1
An error occurred:HTTP Error 500: INTERNAL SERVER ERROR
When I attempt to login to the Web GUI from the actual host and browse the couters, the page just clocks.

websites for upload images
The NCPA Listener log is attached below:
2018-02-02 13:11:35,216:ERROR:app:Exception on /api/windowscounters/Memory/Available%20MBytes/ [GET]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\flask\app.py", line 1817, in wsgi_app
File "C:\Python27\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
File "C:\Python27\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1461, in dispatch_request
File "C:\Users\jomann\Documents\ncpa\agent\listener\server.py", line 168, in token_auth_decoration
File "C:\Users\jomann\Documents\ncpa\agent\listener\server.py", line 896, in api
File "C:\Users\jomann\Documents\ncpa\agent\listener\psapi.py", line 272, in getter
File "C:\Users\jomann\Documents\ncpa\agent\listener\nodes.py", line 55, in accessor
TypeError: accessor() takes exactly 4 arguments (5 given)
2018-02-02 13:11:35,216:INFO:handler:149.24.38.140 - - [2018-02-02 13:11:35] "GET /api/windowscounters/Memory/Available%2520MBytes/?token=&warning=500%3A&critical=256%3A&check=1 HTTP/1.1" 500 2362 0.000000
Thanks again!