SNMP send trap
Send an SNMP notification (trap) to a monitoring system: v1 (enterprise, generic and specific type), v2c, or v3 signed and encrypted from this runner's engine ID.
Command in the Network toolkit · id ooa.network/snmp_send_trap · 15 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Host | String | Yes | Monitoring system host name or IP address. | |
| Trap oid | String | Yes | OID that identifies the kind of notification; for v1 the enterprise OID. | |
| Variables | Dictionary | No | Extra values to include: OID to value (numbers are sent as integers, everything else as text). | |
| Community | Any | No | public | SNMP v1 or v2c community (text or a Credential); public when empty. |
| Port | Number | No | 162 | UDP port of the trap receiver. |
| Version | String | No | v2c | SNMP version the receiver expects. |
| Generic trap | String | No | enterprise_specific | SNMP v1 generic trap type; enterprise_specific for your own notifications. |
| Specific trap | Number | No | 0 | SNMP v1 specific trap number, used with enterprise_specific. |
| 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 receiver uses them; usually empty. | |
| Engine ID | String | No | SNMP v3 engine ID (hex) to send from; this computer's own (made from its name) when empty. The receiver lists it with the user. |
Outputs
| Output | Type | What it is |
|---|---|---|
| engine_id | String | For v3, the engine ID (hex) the trap was sent from, for setting up the user on the receiver; empty for v1 and v2c. |