Package: nfdump
Version: 1.6-1
Severity: normal

When setting a limit on the <datadir> used for netflow data, the setting isn't 
stored in the <datadir>/.nfstat file. The fault affects both size and time
limits (only size limit is shown below).


pe...@mgmt:~$ sudo ls -l /var/cache/nfdump
ls: cannot access /var/cache/nfdump: No such file or directory
pe...@mgmt:~$


pe...@mgmt:~$ sudo aptitude install nfdump/unstable
<snip/>
Unpacking nfdump (from .../archives/nfdump_1.6-1_i386.deb) ...
Processing triggers for man-db ...
Setting up nfdump (1.6-1) ...
<snip/>
pe...@mgmt:~$


pe...@mgmt:~$ sudo nfexpire -l /var/cache/nfdump/
Force rebuild to create stat record in /var/cache/nfdump/
Scanning files in /var/cache/nfdump/ .. done.
First:     2010-01-26 09:34:41
Last:      2010-01-26 09:34:41
Lifetime:  0 sec
Numfiles:  0
Filesize:  0 B
Max Size:  <none>
Max Life:  <none>
Watermark: 0%
Status:    Force rebuild


pe...@mgmt:~$ sudo nfexpire -u /var/cache/nfdump/ -s 500m
Force rebuild requested by stat record in /var/cache/nfdump/
Scanning files in /var/cache/nfdump/ .. done.
First:     2010-01-26 09:34:52
Last:      2010-01-26 09:34:52
Lifetime:  0 sec
Numfiles:  0
Filesize:  0 B
Max Size:  524288000 = 500.0 MB
Max Life:  <none>
Watermark: 95%
Status:    Force rebuild


pe...@mgmt:~$ sudo nfexpire -l /var/cache/nfdump/
Force rebuild requested by stat record in /var/cache/nfdump/
Scanning files in /var/cache/nfdump/ .. done.
First:     2010-01-26 09:34:55
Last:      2010-01-26 09:34:55
Lifetime:  0 sec
Numfiles:  0
Filesize:  0 B
Max Size:  <none>
Max Life:  <none>
Watermark: 95%
Status:    Force rebuild


pe...@mgmt:~$ sudo ls -laR /var/cache/nfdump/
/var/cache/nfdump/:
total 8
drwxr-xr-x  2 root root 4096 2010-01-26 09:34 .
drwxr-xr-x 15 root root 4096 2010-01-26 09:34 ..
-rw-r--r--  1 root root    0 2010-01-26 09:34 .nfstat
pe...@mgmt:~$


pe...@mgmt:~$ ls -l /usr/bin/nfexpire
-rwxr-xr-x 1 root root 35908 2010-01-16 01:23 /usr/bin/nfexpire
pe...@mgmt:~$



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfdump depends on:
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries
ii  librrd4                     1.3.1-4      Time-series data storage and displ
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip

nfdump recommends no packages.

nfdump suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to