cpm_syslog_server_config
Set network SYSLOG Server parameters in WTI OOB and PDU devices
Collection: wti.remote
Full Name: wti.remote.cpm_syslog_server_config
Synopsis
Set network SYSLOG Server parameters in WTI OOB and PDU devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| cpm_url | string | yes | WTI device host or host:port | |
| cpm_username | string | yes | WTI username; an empty username selects an API token | |
| cpm_password | string | yes | WTI password or API token | |
| interface | string | yes | Ethernet port | |
| protocol | int | 0 for IPv4 and 1 for IPv6 | ||
| clear | int | Clear server blocks before applying changes | ||
| enable | int | Enable the SYSLOG server | ||
| port | int | SYSLOG port | ||
| transport | int | Transport selector | ||
| secure | int | Secure transport selector | ||
| index | list | One-based block indexes | ||
| address | list | Permitted SYSLOG addresses | ||
| use_https | bool | true | Use HTTPS instead of HTTP | |
| validate_certs | bool | true | Validate the device TLS certificate | |
| use_proxy | bool | false | Observe HTTP proxy environment variables |
Example
yaml
- name: Enable the SYSLOG server on eth0 of a WTI device
wti.remote.cpm_syslog_server_config:
cpm_url: nonexist.wti.com
cpm_username: super
cpm_password: super
interface: eth0
protocol: 0
enable: 1
port: 514
transport: 0
secure: 0
use_https: true
validate_certs: false