Read the RRD error messages (again) - The first one sounds like some kind of permission or space problem (can't create the file) the seconds sounds like the rrd routine opened the file and found that it wasn't an rrd file, so it aborted...
-----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 7:53 AM To: [email protected] Subject: Re: [Ntop] netflow plugin and rrd graphs Burton Strauss wrote: > Make sure your configuration is correct, esp. the local hosts settings > (-m) and that the plugins are enabled. Check the log for messages. Rrdplugin and netflow plugin are active. I tried the "ntop -u root -n -m 192.168.0.0/19 -x 16384 I know the -u root not a good idea, but it is only a test of permissions (but i'm getting only NAN in rrd graph on bottom of the first side of ntop site :( Hmm... a part of my log: Tue May 2 14:42:31 2006 **WARNING** RRD: rrd_create(/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141 /180/pktSent.rrd) error: a file error occurred while creating '/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141/180/pktSe nt.rrd' May 2 14:42:24 flow ntop[7269]: WARNING: Max num hash entries (16384) reached (see -x) Tue May 2 14:42:31 2006 **WARNING** RRD: rrd_update(/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141 /180/pktSent.rrd) error: '/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141/180/pktSe nt.rrd' is not an RRD file flow:#cd /var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141/180/ flow:/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141/180# ls -la total 0 drwxr-xr-x 2 root root 6 May 2 14:43 . drwxr-xr-x 3 root root 16 May 2 14:42 .. I haven't get the requested file: pktSent.rrd but why doesn't create ntop one of them? I can create this file without problem! flow:#touch pktSent.rrd flow:/var/netflow/ntop/rrd/interfaces/NetFlow-device.2/hosts/64/81/141/180# ls -la total 0 drwxr-xr-x 2 root root 24 May 2 14:50 . drwxr-xr-x 3 root root 16 May 2 14:42 .. -rw-r--r-- 1 root root 0 May 2 14:50 pktSent.rrd laci <snip /> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
