NCPA - checking a Macintosh via NEM Rasperry Pi
Posted: Sat Jan 16, 2021 10:15 pm
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
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