Hi,

no one has an idea on this?

Based on 
http://www.mail-archive.com/[email protected]/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 snmpd[7286]: Received TERM or STOP signal...  
shutting down...
Jul 28 09:56:04 server snmpd[7305]: cache has existing timer id.
Jul 28 09:56:04 server snmpd[7305]: /etc/snmp/snmpd.conf: line 28: 
Warning: Unknown token: dontLogTCPWrappersConnects.
Jul 28 09:56:04 server snmpd[7305]: NET-SNMP version 5.2.3

I´m using Debian 5.0, and there are no other packages available for 
net-snmp. Any other suggestions on how to solve this problem?

Thank you,

Roberto Greiner

On 23/07/2010 12:14, Roberto Greiner wrote:
>    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 problem is that I would like net-snmp not
> to log successful connections, but to log connections attempts with
> invalid communities. Level 6 logs connections with both valid and
> invalid communities. Level 5 logs neither. Is there any way to achieve this?
>
> For information, I'm running Debian 5.0.4, with net-snmpd version 5.4.1
> (installed via Debian apt).
>
> Thank you,
>
> Roberto
>


-- 
   -----------------------------------------------------
                 Marcos Roberto Greiner

    Os otimistas acham que estamos no melhor dos mundos
     Os pessimistas tem medo de que isto seja verdade
                                   James Branch Cabell
   -----------------------------------------------------


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
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

Reply via email to