[syslog-ng] Customizing syslog-ng snmp() destination option

Maurya, Shivani shivani.maurya at intel.com
Thu Mar 17 06:31:05 UTC 2022


Hi All,

I am using syslog-ng v3.30 and forwarding snmp traps from this server using snmp() destination option -

[cid:image001.png at 01D839F6.A0D8F220]

I wanted to add a field "agent-addr" as part of the trap & not in the variable-binding. This field "agent-addr" will contain the IP address of the device which is sending the syslog message to the syslog server. How can I add a customized filed as part of the trap?


Regards,
Shivani Maurya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220317/28b46eda/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 21435 bytes
Desc: image001.png
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220317/28b46eda/attachment-0001.png>


More information about the syslog-ng mailing list