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
-----------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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