Transport

Selects the transport protocol for SNMP communication.

This parameter applies to omsnmp: SNMP Trap Output Module.

Name:

Transport

Scope:

module

Type:

string

Default:

module=udp

Required?:

no

Introduced:

at least 7.3.0, possibly earlier

Description

Defines the transport type you wish to use. Technically we can support all transport types which are supported by NET-SNMP. To name a few possible values: udp, tcp, udp6, tcp6, icmp, icmp6 …

Module usage

action(type="omsnmp" transport="udp")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $actionsnmptransport — maps to Transport (status: legacy)

See also

See also omsnmp: SNMP Trap Output Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.