hopefully this helps you get by until the bug is fixed - I call it a bug because changing the default port is a very common occurrence
okconfig install hostname --ssh --user username
/usr/lib/python2.6/site-packages/okconfig/__init__.py
if not install_method or install_method == '':
if network_scan.check_tcp(remote_host, 1111, timeout=5):
if install_method == 'ssh':
return install_nrpe(remote_host=remote_host, port=1111, username=username, password=password)
if not network_scan.check_tcp(remote_host, 1111, timeout=5):
raise OKConfigError('Cannot reach remote_host on port 1111, aborting...')