make the default configuration less noisy, i.e. do not print "Connection

from UDP:" and "Received SNMP packet(s) from UDP:" messages on each
    connection. Resolves: #509055
This commit is contained in:
Jan Šafránek 2009-07-01 11:03:31 +00:00
parent 111aa30899
commit d0afd78088
3 changed files with 17 additions and 2 deletions

View File

@ -173,6 +173,16 @@ syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# system.sysServices.0 = 72 # system.sysServices.0 = 72
###############################################################################
# Logging
#
# We do not want annoying "Connection from UDP: " messages in syslog.
# If the following option is commented out, snmpd will print each incoming
# connection, which can be useful for debugging.
dontLogTCPWrappersConnects yes
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

View File

@ -8,7 +8,7 @@
Summary: A collection of SNMP protocol tools and libraries Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp Name: net-snmp
Version: %{major_ver} Version: %{major_ver}
Release: 11%{?dist} Release: 12%{?dist}
Epoch: 1 Epoch: 1
License: BSD and MIT License: BSD and MIT
@ -423,6 +423,11 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs %{_datadir}/snmp/mibs
%changelog %changelog
* Wed Jul 1 2009 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-12
- make the default configuration less noisy, i.e. do not print "Connection from
UDP:" and "Received SNMP packet(s) from UDP:" messages on each connection.
(#509055)
* Mon May 18 2009 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-11 * Mon May 18 2009 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-11
- fix divison-by-zero in cpu statistics (#501210) - fix divison-by-zero in cpu statistics (#501210)

View File

@ -1,2 +1,2 @@
# snmpd command line options # snmpd command line options
# OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a" # OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid"