Changeset 1255 for opsi/server


Ignore:
Timestamp:
Feb 15, 2021, 7:56:31 PM (4 years ago)
Author:
joergs
Message:

adapt outpput of listInstalled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/server/dass-opsi-tools/usr/bin/opsiclient

    r1254 r1255  
    3636UrlJsonRpc="https://<username>:<password>@opsi:4447/rpc"
    3737
    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"
     38HelpEpilog="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."
    3939
    4040class Nrpe:
     
    455455                else:
    456456                    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))
    458458            else:
    459459                i['proposedAction'] = 'install'
     
    535535    )
    536536
    537     parser.add_argument( '--debug', action='store_true', help="enable debugging output" )
     537    parser.add_argument('--debug', action='store_true', help="enable debugging output")
    538538    parser.add_argument('--nagios', action='store_true', help='output in Nagios NRPE format')
    539539
Note: See TracChangeset for help on using the changeset viewer.