wti.remote.cpm_status_info module – Get general status information from WTI OOB and PDU devices
Note
This module is part of the wti.remote collection (version 1.0.5).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install wti.remote
.
To use it in a playbook, specify: wti.remote.cpm_status_info
.
New in wti.remote 2.9.0
Synopsis
Get temperature general status from WTI OOB and PDU devices
Parameters
Parameter |
Comments |
---|---|
This is the Password of the WTI device to send the module. |
|
This is the URL of the WTI device to send the module. |
|
This is the Username of the WTI device to send the module. |
|
Designates to use an https connection or http connection. Choices:
|
|
Flag to control if the lookup will observe HTTP proxy environment variables when present. Choices:
|
|
If false, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. Choices:
|
Notes
Note
Use
groups/cpm
inmodule_defaults
to set common options used between CPM modules.)
Examples
- 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
- 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
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The output JSON returned from the commands sent Returned: always |
|
Current Analog Modem (if installed) Phone number of the WTI device. Returned: success Sample: |
|
Current Apache Web version running on the WTI device. Returned: success Sample: |
|
Current Date of the API release of the WTI device. Returned: success Sample: |
|
Current Asset Tag of the WTI device. Returned: success Sample: |
|
Current Board and Program date of the WTI device. Returned: success Sample: |
|
Identifies if the unit has current monitoring capabilites. Returned: success Sample: |
|
Current Energywise version of the WTI device. Returned: success Sample: |
|
Identifies dual ethernet port and gigabyte ethernet ports in the WTI device. Returned: success Sample: |
|
Current ethernet ports of the WTI device. Returned: success Sample: |
|
Current key length of the WTI device. Returned: success Sample: |
|
Identifies total power inlets and their power rating. Returned: success Sample: |
|
Current mac addresses of the WTI device. Returned: always Sample: |
|
Identifies if a modem is installed in the WTI device. Returned: success Sample: |
|
Identifies the modem model number (if installed) in the WTI device. Returned: success Sample: |
|
Current OpenSSH running on the WTI device. Returned: success Sample: |
|
Current OpenSSL version running on the WTI device. Returned: success Sample: |
|
Various Identity options of the WTI. Returned: success Sample: |
|
Current Product Part Number of the WTI device. Returned: success Sample: |
|
Total RAM and FLASH installed in the WTI device.. Returned: success Sample: |
|
Current RESTful version of the WTI device. Returned: success Sample: |
|
Current Serial number of the WTI device. Returned: success Sample: |
|
Current Site-ID of the WTI device. Returned: success Sample: |
|
Expanded Firmware version of the WTI device. Returned: success Sample: |
|
Return status after module completion Returned: always Sample: |
|
Total Power Outlet plugs of the WTI device. Returned: success Sample: |
|
Total serial ports of the WTI device. Returned: success Sample: |
|
Current uptime of the WTI device. Returned: success Sample: |
|
Identifies WTI device as a WTI device. Returned: success Sample: |