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

Maurya, Shivani shivani.maurya at intel.com
Mon Mar 21 16:12:19 UTC 2022


Can anyone please help me here?


Regards,
Shivani Maurya

From: Maurya, Shivani
Sent: Thursday, March 17, 2022 12:01 PM
To: Syslog-ng users' and developers' mailing list <syslog-ng at lists.balabit.hu>
Subject: Customizing syslog-ng snmp() destination option

Hi All,

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

[cid:image001.png at 01D83D6C.88617400]

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/20220321/a6335906/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/20220321/a6335906/attachment-0001.png>


More information about the syslog-ng mailing list