Package: smokeping
Version: 1.38-3
Severity: normal
Tags: patch
Hello
Smokeping has a little bug in Smokeping.pm. It is triggered when the
smokeping host is reachable not by its hostname but e.g. due to ProxyPass
by a different hostname. In this case the $cgiurl that can be set in the
config should be used but sadly is not used.
The following patch solves the problem:
--- old/lib/Smokeping.pm.orig 2005-03-13 13:58:57.000000000 +0100
+++ new/lib/Smokeping.pm 2005-11-14 15:49:48.867229239 +0100
@@ -866,7 +866,7 @@
{
menu => target_menu($cfg->{Targets},
[EMAIL PROTECTED], #copy this because it gets
changed
- ($q->script_name() || '')."?target="),
+ $cfg->{General}->{cgiurl}."?target="),
title => $tree->{title},
remark => ($tree->{remark} || ''),
overview => get_overview( $cfg,$q,$tree,$open ),
bye,
-christian-
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-15) (ignored: LC_ALL set
to [EMAIL PROTECTED])
Versions of packages smokeping depends on:
ii echoping 5.2.0-2 A small test tool for TCP servers
ii fping 2.4b2-to-ipv6-10 sends ICMP ECHO_REQUEST packets to
ii librrds-perl 1.0.49-1 Time-series data storage and displ
pn libsnmp-session-perl Not found.
ii perl [libdigest-md5-per 5.8.4-8 Larry Wall's Practical Extraction
ii speedy-cgi-perl 2.22-1 speed up perl scripts by making th
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]