wti.remote.cpm_status_info (1.0.5) — lookup

Get general status information from WTI OOB and PDU devices

| "added in version" 2.9.0 of wti.remote"

Authors: Western Telematic Inc. (@wtinetworkgear)

preview | supported by community

Install collection

Install with ansible-galaxy collection install wti.remote:==1.0.5


Add to requirements.yml

  collections:
    - name: wti.remote
      version: 1.0.5

Description

Get temperature general status from WTI OOB and PDU devices

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get the Status Information for a WTI device
  cpm_status_info:
    cpm_url: "nonexist.wti.com"
    cpm_username: "super"
    cpm_password: "super"
    use_https: true
    validate_certs: false
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get the Status Information for a WTI device
  cpm_status_info:
    cpm_url: "nonexist.wti.com"
    cpm_username: "super"
    cpm_password: "super"
    use_https: false
    validate_certs: false

Inputs

    
cpm_url:
    description:
    - This is the URL of the WTI device to send the module.
    required: true
    type: str

use_https:
    default: true
    description:
    - Designates to use an https connection or http connection.
    required: false
    type: bool

use_proxy:
    default: false
    description:
    - Flag to control if the lookup will observe HTTP proxy environment variables when
      present.
    required: false
    type: bool

cpm_password:
    description:
    - This is the Password of the WTI device to send the module.
    required: true
    type: str

cpm_username:
    description:
    - This is the Username of the WTI device to send the module.
    required: true
    type: str

validate_certs:
    default: true
    description:
    - If false, SSL certificates will not be validated. This should only be used
    - on personally controlled sites using self-signed certificates.
    required: false
    type: bool

Outputs

data:
  contains:
    analogmodemphonenumber:
      description: Current Analog Modem (if installed) Phone number of the WTI device.
      returned: success
      sample: '9495869959'
      type: str
    apacheversion:
      description: Current Apache Web version running on the WTI device.
      returned: success
      sample: 2.4.41
      type: str
    apirelease:
      description: Current Date of the API release of the WTI device.
      returned: success
      sample: March 2020
      type: str
    assettag:
      description: Current Asset Tag of the WTI device.
      returned: success
      sample: ARTE121
      type: str
    cpu_boardprogramdate:
      description: Current Board and Program date of the WTI device.
      returned: success
      sample: ARM, 4-30-2019
      type: str
    currentmonitor:
      description: Identifies if the unit has current monitoring capabilites.
      returned: success
      sample: 'Yes'
      type: str
    energywise:
      description: Current Energywise version of the WTI device.
      returned: success
      sample: 1.2.0
      type: str
    gig_dualphy:
      description: Identifies dual ethernet port and gigabyte ethernet ports in the
        WTI device.
      returned: success
      sample: Yes, Yes
      type: str
    interface_list:
      description: Current ethernet ports of the WTI device.
      returned: success
      sample: eth0
      type: str
    keylength:
      description: Current key length of the WTI device.
      returned: success
      sample: '2048'
      type: str
    lineinputcount_rating:
      description: Identifies total power inlets and their power rating.
      returned: success
      sample: 1 ,  20 Amps
      type: str
    macaddresses:
      description: Current mac addresses of the WTI device.
      returned: always
      sample:
        mac: 00-09-9b-02-9a-26
      type: dict
    modeminstalled:
      description: Identifies if a modem is installed in the WTI device.
      returned: success
      sample: Yes, 4G/LTE
      type: str
    modemmodel:
      description: Identifies the modem model number (if installed) in the WTI device.
      returned: success
      sample: MTSMC-LVW2
      type: str
    opensshversion:
      description: Current OpenSSH running on the WTI device.
      returned: success
      sample: 8.2p1
      type: str
    opensslversion:
      description: Current OpenSSL version running on the WTI device.
      returned: success
      sample: 1.1.1d  10 Sep 2019
      type: str
    option1/2:
      description: Various Identity options of the WTI.
      returned: success
      sample: WPO-STRT-CPM8 / W4G-VZW-CPM8
      type: str
    product:
      description: Current Product Part Number of the WTI device.
      returned: success
      sample: CPM-800-1-CA
      type: str
    ram_flash:
      description: Total RAM and FLASH installed in the WTI device..
      returned: success
      sample: 512 MB, 128 MB
      type: str
    restful:
      description: Current RESTful version of the WTI device.
      returned: success
      sample: v1.0, v2 (Mar20)
      type: str
    serialnumber:
      description: Current Serial number of the WTI device.
      returned: success
      sample: '12345678901234'
      type: str
    siteid:
      description: Current Site-ID of the WTI device.
      returned: success
      sample: GENEVARACK
      type: str
    softwareversion:
      description: Expanded Firmware version of the WTI device.
      returned: success
      sample: 6.60 19 Feb 2020
      type: str
    status:
      description: Return status after module completion
      returned: always
      sample:
        code: '0'
        text: OK
      type: dict
    totalplugs:
      description: Total Power Outlet plugs of the WTI device.
      returned: success
      sample: '8'
      type: str
    totalports:
      description: Total serial ports of the WTI device.
      returned: success
      sample: '9'
      type: str
    uptime:
      description: Current uptime of the WTI device.
      returned: success
      sample: '259308.26'
      type: str
    vendor:
      description: Identifies WTI device as a WTI device.
      returned: success
      sample: wti
      type: str
  description: The output JSON returned from the commands sent
  returned: always
  type: complex