Port¶
Specifies the port used for sending SNMP traps.
This parameter applies to omsnmp: SNMP Trap Output Module.
- Name:
Port
- Scope:
module
- Type:
integer
- Default:
module=162
- Required?:
no
- Introduced:
at least 7.3.0, possibly earlier
Description¶
The port which will be used, common values are port 162 or 161.
Module usage¶
action(type="omsnmp" port="162")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$actionsnmptargetport — maps to Port (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.