Server¶
Defines the SNMP target host by hostname or IP address.
This parameter applies to omsnmp: SNMP Trap Output Module.
- Name:
Server
- Scope:
module
- Type:
string
- Default:
module=none
- Required?:
yes
- Introduced:
at least 7.3.0, possibly earlier
Description¶
This can be a hostname or ip address, and is our snmp target host. This parameter is required, if the snmptarget is not defined, nothing will be send.
Module usage¶
action(type="omsnmp" server="192.0.2.1")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$actionsnmptarget — maps to Server (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.