Re: [Nfsen-discuss] no graphs in the PortTracker plugin
Netflow visualisation and investigation tool
Brought to you by:
phaag
|
From: Lambert H. <lam...@in...> - 2006-07-15 08:53:42
|
Chelo Malagon wrote: > Hello, > I have checked the mailing list trying to find tha solution to the > problem I have and I saw a thread about it but without saying how to > solve it (thread "porttracker not producing graphs"). In my case I'm > using Red Hat Enterprise 4, nfsen 1.2.4, nfdump 1.5-1 and > PortTracker-v.e-1.5. > I can not get PortTracker to produce graphs. The rrd files are generated > and properly updated as well as the "ports" and "portstatxx" files. The > plugin tab displays info in the botton table, but no GIFs are shown. > I have checked permissions and the configiration of the pugin (and also > reinstalled the plugin) and everything seems to be fine. > The only error I get is in the error_log (the same error people in the > list commented before): > [client X.X.X.X] PHP Notice: Undefined index: 0_skip in > /var/www/html/nfsen/nfsen.php/plugins/PortTracker.php on line 95, > referer: http://fraguelrock.rediris.es:8080/nfsen/nfsen.php/nfsen.php > [client X.X.X.X] PHP Notice: Undefined index: 0_skip in > /var/www/html/nfsen/nfsen.php/plugins/PortTracker.php on line 99, > referer: http://fraguelrock.rediris.es:8080/nfsen/nfsen.php/nfsen.php > [client X.X.X.X] PHP Notice: Undefined index: 0_skip in > /var/www/html/nfsen/nfsen.php/plugins/PortTracker.php on line 266, > referer: http://fraguelrock.rediris.es:8080/nfsen/nfsen.php/nfsen.php > > I was testing the pluing in other machine (Fedora Core 4) and the same > versions of nfsen/nfdump/PortTracker without problems. > > Thank in advance, > Chelo Hello Chelo, Yes, your problem is very familiar. I had the exact same issue, see thread "porttracker not producing graphs". I never found the answer to the problem for that particular installation, hence the answer isn't in the thread. Looks like I wasn't the only one. I can only put the problem down to some compatibility issue between the Porttracker code and RRDTool. I'm not a coder so don't know where to look. As Peter has stated on numerous occasions, the Porttracker code is experimental so I guess we can not expect it to work in all situations. I do have Porttracker1.5 working now though on Fedora Core 5 and RRDTool 1.2.13. The previous install was on the same box but then FC4 with RRDTool 1.2.12. Did get a different problem this time, with nftrack complaining that it could not find the RRD library files (librrd.so.2). Not sure why at the time but fixed it by using a FC5 RPM install for RRD rather than the tarball. Have subsequently noticed a thread in which a fix is given for this problem (thread "nftrack can't find librrd.so.2"). I have noticed a new problem with Porttracker now that it has been running for a while. I may report this problem in a new thread to see if anyone else has seen this. When I reboot the box that Porttracker is running on (the box is a devel machine so these reboots are a common occurrence), once Porttracker starts running again it just thrashes the hell out of the hard disk and never seems to "catch up" again and does not update the RRD files. I have left it for several hours but it just thrashes the hard disk and the only way to stop it is to kill the process ID and then stop NFSEN. I also saw this behaviour on the previous install of Porttracker on FC4. Sorry that I can not be of more help with your particular problem, but hope that this information is of some use to you. Regards, Lambert Hoogeveen |