Re: Syslog-ng v3.31 destination option not working
"Maurya, Shivani" <[email protected]>
| Newsgroups | gmane.comp.syslog-ng |
|---|---|
| Message-ID | <DM4PR11MB55028CB80ECC241B04AC3BBE903E9@DM4PR11MB5502.namprd11.prod.outlook.com> |
Hi John, It's resolved now by installing syslog-ng-afsnmp module. Regards, Shivani Maurya From: syslog-ng <[email protected]> On Behalf Of Stoffel, John (TAI) Sent: Tuesday, February 22, 2022 7:00 PM To: Syslog-ng users' and developers' mailing list <[email protected]> Subject: Re: [syslog-ng] Syslog-ng v3.31 destination option not working 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 TOSHIBA AMERICA, INC. 1251 6th, Ave 41st flr, New York, NY 10020 508-736-5499 (mobile) E-Mail: [email protected]<mailto:[email protected]> Website: Service Now Self Service Portal<https://nassc.service-now.com/ess/navpage.do> From: syslog-ng <[email protected]<mailto:[email protected]>> On Behalf Of Maurya, Shivani Sent: Monday, February 21, 2022 4:30 AM To: [email protected]<mailto:[email protected]> Subject: Re: [syslog-ng] Syslog-ng v3.31 destination option not working Hi, Can anyone please respond to my email below? Regards, Shivani Maurya From: Maurya, Shivani Sent: Friday, February 18, 2022 3:45 PM To: [email protected]<mailto:[email protected]> Subject: Syslog-ng v3.31 destination option not working Hi, 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{ snmp( version('v2c') host('192.168.1.1') trap-obj('.1.3.6.1.6.3.1.1.4.1.0', 'Objectid', '.1.3.6.1.4.1.18372.3.1.1.1.2.1') snmp-obj('.1.3.6.1.4.1.18372.3.1.1.1.1.1.0', 'Octetstring', 'Test SNMP trap') snmp-obj('.1.3.6.1.4.1.18372.3.1.1.1.1.2.0', 'Octetstring', 'admin') snmp-obj('.1.3.6.1.4.1.18372.3.1.1.1.1.3.0', 'Ipaddress', '192.168.1.1') ); }; But syslog-ng service/daemon is not starting & pointing error at snmp(). Can you please help on this? FYI - I am using RHEL7. Regards, Shivani Maurya ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq