Re: SNMPD logs to syslog when it receives any snmp request
Pranesh Kulkarni <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
call "snmp_disable_log()" function. Thanks, Pranesh On Tue, Feb 17, 2009 at 6:33 PM, <[email protected]>wrote: > Hi All, > > We are using Net-snmp-5.4.2.1. We are seeing that SNMPD logs the following > messages in syslog for every snmp request that it receives. Is there any way > to disable these messages from being logged to syslog..? Because of these > messages, syslog size is increasing hugely when snmpwalk is run continuously > or SNMPD runs for a long period of time. > > snmpd[6878]: Connection from UDP: [10.232.90.12]:54311 > snmpd[6878]: Received SNMP packet(s) from UDP: [10.232.90.12]:54311 > I have seen the code and found that these messages are logged using > snmp_log() function with LOG_INFO as the logging level. If we configure > syslogd to disable log messages of INFO level from SNMPD, then we miss other > important messages like SNMPD is started/stopped which are also logged using > LOG_INFO. > > So, can you please let me know if there is a way to disable the above > messages from being logged to syslog.? Any information on this will be very > helpful. > > Thanks & Regards, > Suresh. > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users