[syslog-ng] Syslog-ng v3.31 destination option not working

Stoffel, John (TAI) John.Stoffel at toshiba.com
Tue Feb 22 13:29:45 UTC 2022

So what is the error you are getting?  And can you setup a small test case with all the details of your configuration so people can look it over and offer suggestions?

Sr. Storage Architect
1251 6th,  Ave 41st flr, New York, NY 10020
508-736-5499 (mobile)
E-Mail:  john.stoffel at toshiba.com<mailto:john.stoffel at toshiba.com>
Website: Service Now Self Service Portal<https://nassc.service-now.com/ess/navpage.do>

From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> On Behalf Of Maurya, Shivani
Sent: Monday, February 21, 2022 4:30 AM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] Syslog-ng v3.31 destination option not working


Can anyone please respond to my email below?

Shivani Maurya

From: Maurya, Shivani
Sent: Friday, February 18, 2022 3:45 PM
To: syslog-ng at lists.balabit.hu<mailto:syslog-ng at lists.balabit.hu>
Subject: Syslog-ng v3.31 destination option not working


I am referring the syslog-ng admin guide - https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.30/administration-guide/48#TOPIC-1595034<https://urldefense.com/v3/__https:/www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.30/administration-guide/48*TOPIC-1595034__;Iw!!BiNunAf9XXY-!Q93jrzSZM4DX-Me8aBL3c0eYbt-EnqnTHtIIy3TzSyiJ4TIy3YexNnFaPAv7bmrAmrrw$> and using the snmp() destination option.
The following is included in my syslog-ng.conf file as part of destination -

destination d_snmpv2c{
        trap-obj('.', 'Objectid', '.')
        snmp-obj('.', 'Octetstring', 'Test SNMP trap')
        snmp-obj('.', 'Octetstring', 'admin')
        snmp-obj('.', 'Ipaddress', '')

But syslog-ng service/daemon is not starting & pointing error at snmp(). Can you please help on this?
FYI - I am using RHEL7.

Shivani Maurya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220222/6b5f13eb/attachment.htm>

More information about the syslog-ng mailing list