snmp
How to get these credentialsSNMP credentials: a v1/v2c community or SNMPv3 USM user. SCOPE is matched as a 'snmp://<host>' (every port on a host), 'snmp://<host>:<port>' (one agent) or 'snmp://' (all agents).
CREATE SECRET snmp (
TYPE snmp,
community '<SNMP_COMMUNITY>', -- secret
user '<user>',
auth_protocol '<auth_protocol>',
auth_key '<AUTH_KEY>', -- secret
priv_protocol '<priv_protocol>',
priv_key '<PRIV_KEY>' -- secret
);
| Key | Type | Required | Description |
|---|---|---|---|
| community secret | VARCHAR | — | SNMPv1/v2c community string. |
| user | VARCHAR | — | SNMPv3 USM user (security name). |
| auth_protocol | VARCHAR | — | SNMPv3 auth protocol: none, md5, sha, sha224, sha256, sha384 or sha512. |
| auth_key secret | VARCHAR | — | SNMPv3 authentication passphrase. |
| priv_protocol | VARCHAR | — | SNMPv3 privacy protocol: none, des, 3des, aes (aes128), aes192 or aes256. |
| priv_key secret | VARCHAR | — | SNMPv3 privacy (encryption) passphrase. |
The worker doesn't mark which keys are required.