NCPA - checking a Macintosh via NEM Rasperry Pi

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
offthewall
Posts: 1
Joined: Sat Jan 16, 2021 9:49 pm

NCPA - checking a Macintosh via NEM Rasperry Pi

Post by offthewall »

I've got a Raspberry Pi 4 setup with NEMS Server 1.52 and am attempting to check a Macintosh xServe running 10.11 macOS Server using check_ncpa.

The macintosh listener is running fine and checks out at https://localhost:5693/ on the mac.

When I attempt to use check_ncpa on NEMS, I get the following SSL protocol error with any command except -h.

For example the check command:

/usr/lib/nagios/plugins/check_ncpa.py -H x.x.x.x -t 'secrettoken' -P 5693 -M cpu/percent -w 20 -c 40 -q 'aggregate=avg'

Produces this output in NEMS:

UNKNOWN: An error occured connecting to API. (Connection error: '[SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:727)')

Any suggestions? I'm stumped. NEMS is new to me but I've got basic PING, PORT and ipmi sensor checks working fine. thx
Locked