Date: Thu, 5 Oct 2006 16:59:12 -0400 (EDT) From: Antoine Beaupre <anarcat@lethe.koumbit.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/104033: nagios trends report images wrong size Message-ID: <20061005205912.469AD17105@lethe.koumbit.net> Resent-Message-ID: <200610052100.k95L0kGb005240@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104033 >Category: ports >Synopsis: nagios trends report images wrong size >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 05 21:00:44 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Antoine Beaupre >Release: FreeBSD 6.1-SECURITY i386 >Organization: Koumbit >Environment: System: FreeBSD lethe.koumbit.net 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 A recent ports collection with nagios 2.5 >Description: When doing a report with trends.cgi, the image gets distorted and stretched out of proportions. That is because there is a static width=900 in the .cgi. >How-To-Repeat: Generate a trends report. Admire the streched image. >Fix: Just add this patch to files/patch-cgi-trends.c --- cgi/trends.c.orig Thu Oct 5 16:05:10 2006 +++ cgi/trends.c Thu Oct 5 16:05:12 2006 @@ -742,7 +742,7 @@ if(backtrack_archives>0) printf("&backtrack=%d",backtrack_archives); printf("&zoom=%d",zoom_factor); - printf("' BORDER=0 name='trendsimage' useMap='#trendsmap' width=900>\n"); + printf("' BORDER=0 name='trendsimage' useMap='#trendsmap'>\n"); printf("</DIV>\n"); } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061005205912.469AD17105>