I have a strange problem with nfsen. If I create a new profile the
directory structure, inital rrd files and images are created. For some
reason the profiles are never updated. Could anyone point out where
the problem may be, please?


An example:

Profile creation seems to work correctly:

% ./bin/nfsen -a testi -c "test" -f ~/filter.txt  
# # test
name    testi
tstart  Mon Oct 16 15:00:00 2006
tend    Mon Oct 16 15:00:00 2006
updated Mon Oct 16 14:55:00 2006
filter  filter.txt
expire  0 hours
size    0
maxsize 0
sources rtr
type    continuous
locked  0
status  OK

(The filter in filter.txt does not filter out all the packets. I've
 tested it with nfdump.)


The directory structure is created:


% ls -al profiles/testi
total 2739
drwxrwxr-x  3 www-data www-data     568 Oct 16 15:07 .
drwxrwxr-x  4 www-data www-data      96 Oct 16 15:07 ..
-rw-rw-r--  1 www-data www-data       9 Oct 16 15:07 filter.txt
-rw-rw-r--  1 www-data www-data    6576 Oct 16 15:07 flows-day.gif
-rw-rw-r--  1 www-data www-data    6617 Oct 16 15:07 flows-month.gif
-rw-rw-r--  1 www-data www-data    6746 Oct 16 15:07 flows-week.gif
-rw-rw-r--  1 www-data www-data    6023 Oct 16 15:07 flows-year.gif
-rw-rw-r--  1 www-data www-data    8269 Oct 16 15:07 packets-day.gif
-rw-rw-r--  1 www-data www-data    7874 Oct 16 15:07 packets-month.gif
-rw-rw-r--  1 www-data www-data    7723 Oct 16 15:07 packets-week.gif
-rw-rw-r--  1 www-data www-data    6139 Oct 16 15:07 packets-year.gif
-rw-rw-r--  1 www-data www-data     185 Oct 16 15:07 profile.dat
drwxrwxr-x  2 www-data www-data      48 Oct 16 15:07 rtr
-rw-rw-r--  1 www-data www-data 2687692 Oct 16 15:07 rtr.rrd
-rw-rw-r--  1 www-data www-data    6573 Oct 16 15:07 traffic-day.gif
-rw-rw-r--  1 www-data www-data    7811 Oct 16 15:07 traffic-month.gif
-rw-rw-r--  1 www-data www-data    6744 Oct 16 15:07 traffic-week.gif
-rw-rw-r--  1 www-data www-data    6010 Oct 16 15:07 traffic-year.gif


Only the data is missing:

% ./bin/nfsen -l testi
# # test
name    testi
tstart  Mon Oct 16 15:00:00 2006
tend    Mon Oct 16 14:55:00 2006
updated Mon Oct 16 14:55:00 2006
filter  filter.txt
expire  0 hours
size    0
maxsize 0
sources rtr
type    continuous
locked  0
status  OK


Only thing changed is the tend parameter. When the profile was created
the tstart and tend had the same value. Now, after five minutes, the
value of tend is less than the value of tstart. 


If I create a profile the start time of which is in the past, nfsen
processes all the past data but no new data appears under the profile.
I see no complaints in the logs and the permissions should be ok.
I've got no problems with the profile live.


Cheers,


-- 
- Matti -

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to