X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=web%2Fdhcpkart.pl;h=e14e0c5a8bbfa356cf7811fee777f7023400d093;hb=065361daac62b4cdb33cf19caa534e29ac1dfde0;hp=e428eca776b6cc3042de3267969aede1f12f4eea;hpb=2679e59589f8338def31c4b7b5c35a365df00d05;p=nms diff --git a/web/dhcpkart.pl b/web/dhcpkart.pl index e428eca..e14e0c5 100755 --- a/web/dhcpkart.pl +++ b/web/dhcpkart.pl @@ -12,11 +12,11 @@ my $maxtimeout = $greentimeout*9; my $dbh = nms::db_connect(); GD::Image->trueColor(1); -$img = GD::Image->new('snmp-bg.png'); +$img = GD::Image->new('bg07.png'); my $blk = $img->colorResolve(0, 0, 0); -$img->string(gdMediumBoldFont,0,0,"TG05 - DHCP-lease status",$blk); +$img->string(gdMediumBoldFont,0,0,"TG07 - DHCP-lease status",$blk); $img->string(gdSmallFont,0,20,"Last recieved DHCP-request",$blk); # first 1/5: green (<30 min) @@ -70,7 +70,7 @@ $dbh->disconnect; if (!defined($ARGV[0])) { print $cgi->header(-type=>'image/png', - -refresh=>'10; http://nms.tg05.gathering.org/dhcpkart.pl'); + -refresh=>'10; http://nms.tg07.gathering.org/dhcpkart.pl'); } print $img->png;