SNMP SendInform

SNMP SendInform

Certified

Send SNMP INFORM with acknowledgment

Sends an SNMP v2c/v3 INFORM to the target host: port and waits for acknowledgment. Renders properties before sending; defaults to localhost: 162, version v2c, community public, 1500 ms timeout, and one retry. v1/v2c use plaintext communities—prefer v3 when authentication or privacy is required.

yaml
type: io.kestra.plugin.snmp.SendInform

Send SNMP v2c inform

yaml
    id: snmp-inform-test
    namespace: monitoring

    tasks:
      - id: inform
        type: io.kestra.plugin.snmp.SendInform
        host: "snmp.manager.local"
        port: 162
        version: "v2c"
        community: "public"
        trapOid: "1.3.6.1.4.1.8072.2.3.0.1"
        bindings:
          - oid: "1.3.6.1.2.1.1.3.0"
            value: "9999"
Properties

Trap or notification OID

OID for the trap/inform type; required

Additional varbinds

List of extra OID/value pairs appended to the PDU

Definitions
oid*Requiredstring
Min length1

OID

OID of the variable binding (e.g. 1.3.6.1.2.1.1.3.0)

value*Requiredstring

Value

String value to send for this OID

Community string (v1/v2c)

Plaintext community for v1/v2c; ignored for v3

Defaultlocalhost

Resolve target host

Hostname or IP of the SNMP manager; defaults to localhost

Reference (ref) of the pluginDefaults to apply to this task.

Default162

Set SNMP manager port

UDP port for traps/informs; defaults to 162

Default1

Retry attempts before failing

Resend count when no acknowledgment is received; defaults to 1

Defaultv2c

Select SNMP version

One of v1, v2c, v3; defaults to v2c

Default1500

Timeout (ms)

Transport timeout per send; defaults to 1500 ms

SNMPv3 security settings

Username and optional auth/privacy protocols required for v3

Definitions
username*Requiredstring
Min length1

Username

SNMPv3 user name; required when using v3

authPasswordstring

Auth password

Password for the chosen auth protocol; optional when auth is disabled

authProtocolstring

Auth protocol

MD5, SHA, SHA224, SHA256, SHA384, SHA512; blank disables authentication. MD5 and SHA (SHA-1) are cryptographically weak and deprecated; prefer SHA256 or higher.

privPasswordstring

Privacy password

Password for the chosen privacy protocol; optional when privacy is disabled

privProtocolstring

Privacy protocol

DES, AES128, AES192, AES256; blank disables encryption. DES is cryptographically weak and deprecated; prefer AES128 or higher.

Defaultfalse

Acknowledged

True if the manager returned an INFORM response without error

Error text

SNMP error status when the INFORM failed or was not acknowledged

SNMP response

Raw response payload from the manager, when available