Skip to main content

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​

InputTypeRequiredDefaultWhat it is
HostStringYesMonitoring system host name or IP address.
Trap oidStringYesOID that identifies the kind of notification; for v1 the enterprise OID.
VariablesDictionaryNoExtra values to include: OID to value (numbers are sent as integers, everything else as text).
CommunityAnyNopublicSNMP v1 or v2c community (text or a Credential); public when empty.
PortNumberNo162UDP port of the trap receiver.
VersionStringNov2cSNMP version the receiver expects.
Generic trapStringNoenterprise_specificSNMP v1 generic trap type; enterprise_specific for your own notifications.
Specific trapNumberNo0SNMP v1 specific trap number, used with enterprise_specific.
Security userStringNoSNMP v3 security user name (v3 uses it instead of a community).
Sign-in protocolStringNoshaSNMP v3 sign-in protocol: none, md5, sha (SHA-1), sha256 or sha512.
Sign-in passwordCredentialNoSNMP v3 sign-in password from the vault.
Privacy protocolStringNoaes128SNMP v3 privacy (encryption): none, des or aes128.
Privacy passwordCredentialNoSNMP v3 privacy (encryption) password from the vault.
Context nameStringNoSNMP v3 context, when the receiver uses them; usually empty.
Engine IDStringNoSNMP 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​

OutputTypeWhat it is
engine_idStringFor v3, the engine ID (hex) the trap was sent from, for setting up the user on the receiver; empty for v1 and v2c.