RE: [Nfsen-discuss] porttracker not producing graphs
Netflow visualisation and investigation tool
Brought to you by:
phaag
|
From: Chris W. <CW...@je...> - 2006-04-19 23:16:09
|
I have the same issue. The data shows up in the tables at the bottom but no graphs. From the apache error_log: [client 172.16.11.222] PHP Notice: Undefined index: 0_skip in /var/www/html/nfsen/plugins/frontend/PortTracker.php on line 95, referer: https://nms.jw.local/nfsen/nfsen.php?plugin_tab=3D0 [client 172.16.11.222] PHP Notice: Undefined index: 0_skip in /var/www/html/nfsen/plugins/frontend/PortTracker.php on line 99, referer: https://nms.jw.local/nfsen/nfsen.php?plugin_tab=3D0 [client 172.16.11.222] PHP Notice: Undefined index: 0_skip in /var/www/html/nfsen/plugins/frontend/PortTracker.php on line 266, referer: https://nms.jw.local/nfsen/nfsen.php?plugin_tab=3D0 A couple of weeks ago I thought I was on the trail of this but I don't know what I did with my notes. If I recall it had to do with different versions of rrd files. I will post what I find to the list because I want to solve this issue as well. Chris Waters Information Systems - Networks Group JELD-WEN, Inc. cw...@je... -----Original Message----- From: nfs...@li... [mailto:nfs...@li...] On Behalf Of Alexander Serkin Sent: Wednesday, April 05, 2006 7:20 AM To: nfs...@li... Subject: Re: [Nfsen-discuss] porttracker not producing graphs Hello, Lambert. The same situation with PortTracker. Apache/1.3.34 (Unix) PHP/5.1.2 PortTracker-v.e-1.5 nfdump-1.5 nfsen-1.2.4 Fedora Core 4 no graphs by the plugin, nfsen works fine. And nothing in apache's error_log. # l /opt/nfsen total 88 drwxr-xr-x 9 apache apache 4096 Apr 5 17:39 . drwxr-xr-x 8 root root 4096 Mar 14 14:44 .. drwxr-sr-x 2 root root 4096 Apr 5 16:33 bin drwxr-sr-x 2 root root 4096 Apr 5 17:47 etc drwxr-sr-x 2 root root 4096 Apr 5 17:47 libexec drwxr-sr-x 2 root root 4096 Apr 5 16:58 plugins drwxr-xr-x 2 apache apache 20480 Apr 5 17:52 portDB drwxrwxr-x 15 apache apache 4096 Apr 3 14:33 profiles drwxrwxr-x 4 apache apache 4096 Mar 14 19:18 var and no idea why. Lambert Hoogeveen wrote: > Peter Haag wrote: >=20 >>-----BEGIN PGP SIGNED MESSAGE----- >> >> >> >>- --On March 20, 2006 20:45:47 +1200 Lambert Hoogeveen <lam...@in...> wrote: >> >>| Jean-Philippe Luiggi wrote: >>| >>| > On Sun, Mar 19, 2006 at 05:47:32PM +1200, Lambert Hoogeveen wrote: >>| > >>| > >>| >> Hello, >>| >> I have seen a similar post previously regarding this problem but can not >>| >> find the answer to it... >>| >> Software Versions: >>| >> Fedora Core 4 >>| >> RRDtool 1.2.12 >>| >> Perl 5.8.6 >>| >> NFDump 1.5 >>| >> NFSen 1.2.4 >>| >> PortTracker 1.5 >>| >> No errors during compilation of any of those. >>| >> I have done a complete re-install including deleting all data files, no fix. >>| >> >>| >> >>| > >>| > Hello, >>| > >>| > Do you use "PortTracker-v.e-1.5" ? >>| > Did you check the various permissions on directories ? >> >>Graphs are generates bei GenPortGraph.pl. If it's an permission, or path problem, >>maybe your apache log file knows more. >> >> - Peter >> >>| > >>| > Best regards. >>| > >>| > >>| > >>| > >>| Hi, thanks for responding. >>| The version is 1.5, as stated in my original post. >>| I've thought about permissions but do not know where else to look, everything >>| seems OK. >>| The PortTracker RRD's are created in "/data/nfsen/porttracker" like so: >>| /data/nfsen/porttracker >>| [root@athlon porttracker]# ls -l >>| total 8570896 >>| -rw-r--r-- 1 apache apache 3145740 Mar 20 19:53 ports.stat >>| -rw-r--r-- 1 apache apache 552 Mar 20 20:38 portstat24.txt >>| -rw-r--r-- 1 apache apache 526 Mar 20 19:53 portstat.txt >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-0.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-10.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-11.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-12.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-13.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-14.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-15.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-16.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-17.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-18.rrd >>| -rw-r--r-- 1 apache apache 22815064 Mar 20 19:53 tcp-bytes-19.rrd >>| <lot's more RRD files> >>| >>| Apache is the user configured in the "nfsen.conf" file and the apache "httpd.conf". >>| Any suggestions where I need to check permissions other than "/data/nfsen/porttracker/"? >>| BTW, NFSen itself works just fine. >>| >>| Regards, >>| Lambert >>| >> >> >> >>- -- >>_______ SWITCH - The Swiss Education and Research Network ______ >>Peter Haag, Security Engineer, Member of SWITCH CERT >>PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7 >>SWITCH, Limmatquai 138, CH-8001 Zurich, Switzerland >>E-mail: pet...@sw... Web: http://www.switch.ch/ >>-----BEGIN PGP SIGNATURE----- >>Version: GnuPG v1.2.4 (Darwin) >> >>iQCVAwUBRB5tCf5AbZRALNr/AQGTGQP/YuHI4ErzT0t0aM7uMd6qxEl2T23A62bb >>Zf9XnLG28X0zvS81LHH1woCRJgnRRUFxOys0IdkxRNTfI4NK9DA8g7S4aVpaYuzJ >>11jVdwZ8mBGi82dfnv/kwTOxIIBCpC8luIIbRJ0D5rOKwCiPHrOruj8mUuchlD5Q >>sgwcRZ0B1GI=3D >>=3DuCh4 >>-----END PGP SIGNATURE----- >> >> >> >> =20 >> > Hello Peter, > I have checked the Apache access_log and error_log and noticed the=20 > following: > When clicking on the PortTracker plugin tab, the following is recorded > in the error_log: > [client 10.247.10.100] PHP Notice: Undefined index: 0_skip in=20 > /var/www/html/nfsen/plugins/PortTracker.php on line 95, referer:=20 > http://10.247.10.100/nfsen/nfsen.php?tab=3D6 > [client 10.247.10.100] PHP Notice: Undefined index: 0_skip in=20 > /var/www/html/nfsen/plugins/PortTracker.php on line 99, referer:=20 > http://10.247.10.100/nfsen/nfsen.php?tab=3D6 > [client 10.247.10.100] PHP Notice: Undefined index: 0_skip in=20 > /var/www/html/nfsen/plugins/PortTracker.php on line 266, referer:=20 > http://10.247.10.100/nfsen/nfsen.php?tab=3D6 >=20 > At the same time in the access_log: > 10.247.10.100 - - [21/Mar/2006:22:44:35 +1200] "GET=20 > /nfsen/rrdgraph.php?prog=3D1&arg=3Dtcp+flows+0+0+0+1142672700+1142759100+= 0-6 5535-65534-65533-65532-65531-65530-65529-65528-65527+-+-=20 > HTTP/1.1" 200 42 "http://10.247.10.100/nfsen/nfsen.php?tab=3D6"=20 > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920" >=20 > Any idea's? >=20 > Regards, > Lambert >=20 >=20 --=20 Sincerely Yours, Alexander Serkin, Moscow Cellular Communications, ph. +7(495)7952089 fa. +7(495)7952084 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Nfsen-discuss mailing list Nfs...@li... https://lists.sourceforge.net/lists/listinfo/nfsen-discuss |