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
        snmpVersion: "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

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

Additional varbinds

List of extra OID/value pairs appended to the PDU

Definitions
oid*string
Min length1

OID

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

value*string

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

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*string
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