Re: Syslog level control

2010-07-29 Thread Dave Shield
On 28 July 2010 14:37, Roberto Greiner wrote: > You are right. I´ve tried it the original box (with version 5.4.1), and > it accepted the token, but it did not achieve the desired effect. With > that token in snmpd.conf, no connection is being logged, valid or not. Remember that TCP wrappers are

Re: Syslog level control

2010-07-28 Thread Roberto Greiner
On 28/07/2010 10:17, Dave Shield wrote: > On 28 July 2010 14:06, Roberto Greiner wrote: >> Based on >> http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, >> I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file ... > >> /etc/snmp/snmpd.conf: line 28:

Re: Syslog level control

2010-07-28 Thread Dave Shield
On 28 July 2010 14:06, Roberto Greiner wrote: > Based on > http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, > I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file ... > /etc/snmp/snmpd.conf: line 28: Warning: Unknown token: > dontLogTCPWrappersConn

Re: Syslog level control

2010-07-28 Thread Roberto Greiner
Hi, no one has an idea on this? Based on http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file, but the net-snmp daemon complained on restart with the following message: Jul 28 09:56:02 server snmp

Syslog level control

2010-07-23 Thread Roberto Greiner
Hi, I´m trying to set what is sent to syslog by net-snmp, and managed to obtain some control of the log level with the line SNMPDOPTS='-LS 4d -Lf /dev/null -u snmp -p /var/run/snmpd.pid' in my /etc/defaults/snmpd file. Changing the 'n' in '-LS nd' above, I can control the log level. My probl