When using check_ssh_proxy_check.py to lookup at another check on a remote machine, the actual return code from the check is not properly handle.
Let's say I want to execute 'check_something', the return code (OK, WARNING, CRITICAL,UNKNOWN) is never handled by check_ssh_proxy_ssh.py resulting in a permanent OK state for the service, even though the remote check is CRITICAL.
When looking to the pyton code, it finishes by :
print result
sys.exit(0)
The latest line explains the 'permanent OK' state.
Totally newbie in Python language, so cannot figure out a way to do this... :(
Jose L.
When using check_ssh_proxy_check.py to lookup at another check on a remote machine, the actual return code from the check is not properly handle.
Let's say I want to execute 'check_something', the return code (OK, WARNING, CRITICAL,UNKNOWN) is never handled by check_ssh_proxy_ssh.py resulting in a permanent OK state for the service, even though the remote check is CRITICAL.
When looking to the pyton code, it finishes by :
print result
sys.exit(0)
The latest line explains the 'permanent OK' state.
Totally newbie in Python language, so cannot figure out a way to do this... :(
Jose L.