Trouble with some NCPA Requests

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
spiderxl
Posts: 1
Joined: Mon Jul 02, 2018 8:42 pm

Trouble with some NCPA Requests

Post 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 ?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Trouble with some NCPA Requests

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked