-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just for the list - If you install PortTracker in nfsen-snapshot-20070208
apply the patch below:
- Peter
- --- PortTracker.pm.orig 2007-02-08 13:01:01.000000000 +0100
+++ PortTracker.pm 2007-02-15 08:14:18.000000000 +0100
@@ -158,8 +158,6 @@
}
@topN = @_tmp;
- - my $DBPath = '/data/ports-db/';
- -
my $datestr = scalar localtime($tstart) . " - " . scalar
localtime($tend);
my $title = uc($proto) . " " . ucfirst($type);
@@ -172,7 +170,7 @@
foreach my $port ( @topN, @track_list ) {
# assemble filename
my $fileident = $port >> 10;
- - my $rrdfile = "$DBPath/${proto}-${type}-$fileident.rrd";
+ my $rrdfile = "$PORTSDBDIR/${proto}-${type}-$fileident.rrd";
# which ident in this rrd file
my $ident = $port & 1023; # 0x0000001111111111
mask
push @rrdargs, "DEF:Port${port}=$rrdfile:p${ident}:AVERAGE";
@@ -317,15 +315,14 @@
return 1;
}
- --On February 13, 2007 18:09:39 +1000 Eric Halil <[EMAIL PROTECTED]> wrote:
| Hi,
|
| I have a new installation of nfsen-snapshot-20070208. It contains
| a PortTracker in contrib named PortTracker-snapshot-20070110. I am running
| on FreeBSD 6.2.
|
| Nfsen itself installed without problems and looks like it's working great!
|
| However I am having a problem with PortTracker.
|
| The PortTracker graphs do not appear. However the ports-db rrds do appear
| to be getting updated. Indeed the Top 10 port list table on the PortTracker
| page seems to be producing correct data. All other graphs within nfsen
| appear to be working correctly and data seems to be getting collected OK.
|
| When I run:
|
| ./nfsen reload
|
| I get the following message in /var/log/messages:
|
| nfsen[21211]: expected exit of child Comm Server[21212]. Process died.
|
| Any idea of why the PortTracker graphs aren't working but all the others are?
|
| In nfsen-snapshot-20070208/contrib/PortTracker-snapshot-20070110 there is
another
| copy of rrdgraph.php. Do I need to do anything special with this? The
INSTALL
| instructions don't mention it.
|
| Thanks!
| Eric
|
|
|
| -------------------------------------------------------------------------
| 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
- --
_______ 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: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iQCVAwUBRdQKK/5AbZRALNr/AQK41gP9EiLAKZs5me5hbYXOgURTS0/aCvjZOSCw
Dgsuo1umdosPGYjsUngEJ5hmUjowBGBm51RXiIMxXw0kwbvhpQOgwN0rQlj6J77u
U/tOgyFxr2xz/JsrZ/W2ZAoo+DNulEvHzxTKkzM1f+Q5VFXWMdpcYWcKhB1pPdi5
DdIkJm3WDec=
=UK5a
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss