Changeset 1255 for opsi/server/dass-opsi-tools/usr/bin
- Timestamp:
- Feb 15, 2021, 7:56:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/server/dass-opsi-tools/usr/bin/opsiclient
r1254 r1255 36 36 UrlJsonRpc="https://<username>:<password>@opsi:4447/rpc" 37 37 38 HelpEpilog="WARNING: python-json-rpc is known to have problems with HTTP proxies. In case of problems, make sure, the environment variables http_proxy and/or https_proxy are *not* set. It might also be neccesary to set variable PYTHONHTTPSVERIFY=0"38 HelpEpilog="WARNING: json-rpc is known to have problems with HTTP proxies. In case of problems, make sure, the environment variables http_proxy and/or https_proxy are *not* set. It might also be necessary to set variable PYTHONHTTPSVERIFY=0." 39 39 40 40 class Nrpe: … … 455 455 else: 456 456 i['proposedAction'] = 'None' 457 print('{clientId}: {version} (proposed action={proposedAction}) '.format(**i))457 print('{clientId}: {version} (proposed action={proposedAction}) request={actionRequest}, result={actionResult}'.format(**i)) 458 458 else: 459 459 i['proposedAction'] = 'install' … … 535 535 ) 536 536 537 parser.add_argument( '--debug', action='store_true', help="enable debugging output")537 parser.add_argument('--debug', action='store_true', help="enable debugging output") 538 538 parser.add_argument('--nagios', action='store_true', help='output in Nagios NRPE format') 539 539
Note:
See TracChangeset
for help on using the changeset viewer.