Hey folks,
during my thesis i have to do some testsin the Nagios Core environment.
Actually i use Centos 7 with Nagioscore 4.3.4 and the NCPA Plugin 1.1.3 on the Server side, and different OS on the client side.
Now i have the problem that i can not check the running processes on an windows server 2016 machine:
./check_ncpa.py -H 10.10.10.75 -t 'welcome' -P 5693 -M 'processes' -w 100 -c 200
This active check is being executed (i see it on the NCPA Clent webinterface) but on Server side it returns only:
"UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details."
The verbose output:
Connecting to: https://10.10.10.75:5693/api/processes/ ... 00&check=1
An error occurred:HTTP Error 500: INTERNAL SERVER ERROR
Its a little bit strange bacause checks like memory usage (./check_ncpa.py -H 10.10.10.75 -t 'welcome' -P 5693 -M memory/virtual -w 50 -c 80 -u G) work fine.
Does someone has an idea ?
Trouble with some NCPA Requests
Re: Trouble with some NCPA Requests
What is the version of the NCPA agent that you are using on the Windows server machine? Do you see the processes when you access the API in a browser?
Can you post the ncpa_listener.log from the Windows box?
Code: Select all
https://<windows ip>:5693/api/processesBe sure to check out our Knowledgebase for helpful articles and solutions!