SNMP get
Read one or more values from a device with SNMP v1, v2c or v3.
Command in the Network toolkit · id ooa.network/snmp_get · 15 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Host | String | Yes | Device host name or IP address. | |
| Oids | Any | Yes | One OID, several separated by commas, or a List of OIDs. | |
| Community | Any | No | public | SNMP v1 or v2c community (text or a Credential); public when empty. |
| Port | Number | No | 161 | UDP port of the SNMP agent. |
| Wait up to (milliseconds) | Number | No | 3000 | How long to wait for each answer, in milliseconds. |
| Retries | Number | No | 1 | Extra attempts after a timeout. |
| Version | String | No | v2c | SNMP version the device speaks. |
| Security user | String | No | SNMP v3 security user name (v3 uses it instead of a community). | |
| Sign-in protocol | String | No | sha | SNMP v3 sign-in protocol: none, md5, sha (SHA-1), sha256 or sha512. |
| Sign-in password | Credential | No | SNMP v3 sign-in password from the vault. | |
| Privacy protocol | String | No | aes128 | SNMP v3 privacy (encryption): none, des or aes128. |
| Privacy password | Credential | No | SNMP v3 privacy (encryption) password from the vault. | |
| Context name | String | No | SNMP v3 context, when the device uses them; usually empty. | |
| Output as | String | No | auto | Text values as the device sent them (auto: text when readable, else hex), always as text, or always as hex bytes (G4). |
| Log file | File | No | Also write what was asked and answered to this text file (G4). |
Outputs
| Output | Type | What it is |
|---|---|---|
| values | Dictionary | OID to value; empty for objects the device does not have. |
| table | Table | Columns: oid, type, value. |