Fix statistics settings in unbound.conf files for unbound-munin

This commit is contained in:
Paul Wouters 2008-11-15 05:46:07 +00:00
parent 05f86a0fef
commit c41f9f1f37
2 changed files with 14 additions and 6 deletions

View File

@ -21,10 +21,12 @@ server:
# print statistics to the log (for every thread) every N seconds. # print statistics to the log (for every thread) every N seconds.
# Set to "" or 0 to disable. Default is disabled. # Set to "" or 0 to disable. Default is disabled.
statistics-interval: 3600 statistics-interval: 0
# enable cumulative statistics, without clearing them after printing. # enable cumulative statistics, without clearing them after printing.
# statistics-cumulative: no statistics-cumulative: no
extended-statistics: yes
# number of threads to create. 1 disables threading. # number of threads to create. 1 disables threading.
num-threads: 2 num-threads: 2

View File

@ -1,7 +1,7 @@
Summary: Validating, recursive, and caching DNS(SEC) resolver Summary: Validating, recursive, and caching DNS(SEC) resolver
Name: unbound Name: unbound
Version: 1.0.2 Version: 1.1.0
Release: 5%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Url: http://www.nlnetlabs.nl/unbound/ Url: http://www.nlnetlabs.nl/unbound/
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
@ -9,12 +9,12 @@ Source1: unbound.init
Source2: unbound.conf Source2: unbound.conf
Group: System Environment/Daemons Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex, openssl-devel, ldns-devel >= 1.3.0, libevent-devel BuildRequires: flex, openssl-devel, ldns-devel >= 1.4.0, libevent-devel
Requires(post): chkconfig Requires(post): chkconfig
Requires(preun): chkconfig Requires(preun): chkconfig
Requires(preun): initscripts Requires(preun): initscripts
Requires(postun): initscripts Requires(postun): initscripts
Requires: ldns >= 1.3.0 Requires: ldns >= 1.4.0
Requires(pre): shadow-utils Requires(pre): shadow-utils
# Is this obsolete? # Is this obsolete?
#Provides: caching-nameserver #Provides: caching-nameserver
@ -146,6 +146,12 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%changelog %changelog
* Fri Nov 14 2008 Paul Wouters <paul@xelerance.com> - 1.1.0-1
- Updated to version 1.1.0
- Update unbound.conf's statistics options to work properly
for munin
- Required ldns is now 1.4.0
* Wed Oct 22 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-5 * Wed Oct 22 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-5
- Only call ldconfig in -libs package - Only call ldconfig in -libs package
- Move configure into build section - Move configure into build section