ncpa in docker container

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

ncpa in docker container

Post by kendallchenoweth »

Hello,

Have you ever seen this error from an ncpa check running against a docker container? The check runs okay against a non docker host and runs okay locally on the system.

{
"value": {
"returncode": 3,
"stdout": "Unable to run check on non-child node. Revise your query."
}
}
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: ncpa in docker container

Post by kendallchenoweth »

We found the problem.

The script doesn't work right unless you change the directory to start the script in the parent directory.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: ncpa in docker container

Post by rkennedy »

Aha - you're too fast. Just getting to this thread - as it sounds like you've figured this out, are we good to mark this thread resolved?
Former Nagios Employee
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: ncpa in docker container

Post by kendallchenoweth »

This is resolved
Locked