aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/uplinktrafikkart.pl
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2015-04-01 03:50:30 +0200
committerroot <root@einstein.tg15.gathering.org>2015-04-01 03:50:30 +0200
commitd284e121df845de3118b720e374bf3bcfd1c9317 (patch)
tree773ae49e9b9dc1d4ea7ae44eb92a412bc5af4da1 /web/nms.gathering.org/uplinktrafikkart.pl
parent41b1eca7a62d450bc0d2357027a6be6acd51a7a6 (diff)
NMS-changes
Diffstat (limited to 'web/nms.gathering.org/uplinktrafikkart.pl')
-rwxr-xr-xweb/nms.gathering.org/uplinktrafikkart.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/uplinktrafikkart.pl b/web/nms.gathering.org/uplinktrafikkart.pl
index 71fa049..97000cf 100755
--- a/web/nms.gathering.org/uplinktrafikkart.pl
+++ b/web/nms.gathering.org/uplinktrafikkart.pl
@@ -41,7 +41,7 @@ $img->rectangle(12,42,33,236,$blk);
$img->stringFT($blk, "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 10, 0, 40, 47 + (236-42)*0.0/2.0, "4 Gbit/sec");
$img->stringFT($blk, "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 10, 0, 40, 47 + (236-42)*1.0/2.0, "2 Gbit/sec");
$img->stringFT($blk, "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 10, 0, 40, 47 + (236-42)*2.0/2.0, "1 Gbit/sec");
-$img->stringFT($blk, "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 10, 0, 1000, 700, "NMS (C) 2005-2012 Tech:Server");
+$img->stringFT($blk, "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 10, 0, 1600, 1000, "NMS (C) 2005-2012 Tech:Server");
my $q = $dbh->prepare('select switch,sysname,(select placement from placements where placements.switch=switches.switch) as placement,greatest(sum(bytes_in),sum(bytes_out)) as traffic from switches natural left join get_current_datarate() natural join placements where port between 45 and 48 and switchtype like \'dlink3100%\' group by switch,sysname');
$q->execute();