Nagiosxi 2024R1.1.5 check_x224 failing after migration to OL9
Posted: Wed Oct 16, 2024 2:27 pm
Nagiosxi 2024R1.1.5 will not upgrade on OL7.9, so I built a new server, configured OL9.4, restored/migrated from the original server backup file. All of the other service checks appear to be working normally. The check_x224 is currently the only one that is not working.
The RDP check - /usr/local/nagios/libexec/check_x224 fails with the following error message:
# /usr/local/nagios/libexec/check_x224 -h
File "/usr/local/nagios/libexec/check_x224", line 90
if l_setup_received <> l_expected_short and l_setup_received <> l_expected_long:
^
SyntaxError: invalid syntax
I can run the same -help command on the original server, received the following output:
# /usr/local/nagios/libexec/check_x224 -h
Usage: check_x224 [-h|--help] -H hostname [-p|--port port] [-w|--warning seconds] [-c|--critical seconds]
port : tcp port to connect to; default: 3389
warning seconds : number of seconds that an RDP response may take without
emitting a warning; default: 3
critical seconds: number of seconds that an RDP response may take without
emitting status=critical; default: 50
The original server (OL7.x) is using python 2.7.5 and the new server (OL9.X) has python 3.9.18 installed.
The RDP check - /usr/local/nagios/libexec/check_x224 fails with the following error message:
# /usr/local/nagios/libexec/check_x224 -h
File "/usr/local/nagios/libexec/check_x224", line 90
if l_setup_received <> l_expected_short and l_setup_received <> l_expected_long:
^
SyntaxError: invalid syntax
I can run the same -help command on the original server, received the following output:
# /usr/local/nagios/libexec/check_x224 -h
Usage: check_x224 [-h|--help] -H hostname [-p|--port port] [-w|--warning seconds] [-c|--critical seconds]
port : tcp port to connect to; default: 3389
warning seconds : number of seconds that an RDP response may take without
emitting a warning; default: 3
critical seconds: number of seconds that an RDP response may take without
emitting status=critical; default: 50
The original server (OL7.x) is using python 2.7.5 and the new server (OL9.X) has python 3.9.18 installed.