Community

Sets the SNMP community string.

This parameter applies to omsnmp: SNMP Trap Output Module.

Name:

Community

Scope:

module

Type:

string

Default:

module=public

Required?:

no

Introduced:

at least 7.3.0, possibly earlier

Description

This sets the used SNMP Community.

Module usage

action(type="omsnmp" community="public")

Legacy names (for reference)

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

  • $actionsnmpcommunity — maps to Community (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.