Page 1 of 1

Trouble with some NCPA Requests

Posted: Wed Jul 04, 2018 1:31 pm
by spiderxl
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 5
00: 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 ?

Re: Trouble with some NCPA Requests

Posted: Thu Jul 05, 2018 10:47 am
by lmiltchev
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?

Code: Select all

https://<windows ip>:5693/api/processes
Can you post the ncpa_listener.log from the Windows box?