PARALLAX

cpm_snmp_config

Set network SNMP parameters in WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_snmp_config

Synopsis

Set network SNMP parameters in WTI OOB and PDU devices

Parameters

NameTypeRequiredDefaultDescription
cpm_urlstringyesWTI device host or host:port
cpm_usernamestringyesWTI username; an empty username selects an API token
cpm_passwordstringyesWTI password or API token
interfacestringyesEthernet port
protocolint0 for IPv4 and 1 for IPv6
clearintClear SNMP users before applying changes
enableintEnable SNMP
versionintSNMP version selector
readonlyintRead-only mode
systemnamestringSNMP system name
contactstringSNMP contact
locationstringSNMP location
rocommunitystringRead-only community
rwcommunitystringRead-write community
indexlistOne-based SNMP user indexes
usernamelistSNMP usernames
authprivlistAuthentication and privacy selectors
authprotolistAuthentication protocol selectors
privprotolistPrivacy protocol selectors
authpasslistSNMP authentication passwords
privpasslistSNMP privacy passwords
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Enable SNMPv2 on eth0 of a WTI device
  wti.remote.cpm_snmp_config:
    cpm_url: nonexist.wti.com
    cpm_username: super
    cpm_password: super
    interface: eth0
    protocol: 0
    enable: 1
    version: 1
    readonly: 0
    use_https: true
    validate_certs: false
Search
    ↑ ↓ move↵ openesc close