<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Chandler,<br>
<br>
Chandler, Mel wrote:
<blockquote
cite="mid:076BF55AC4AF814FAD69CD6D459F366003462593@irvxch08.us.tgr.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16640" name="GENERATOR">
<div><span class="900190700-17062008"><font face="Arial" size="2">I'm
running 2.4.1</font></span></div>
<div><span class="900190700-17062008"></span> </div>
<div><span class="900190700-17062008"><font face="Arial" size="2">When
I click on the * for one of the targets, the window opens, it displays
the column labels, but no data. The button says starting, but nothing
else happens. Where did I go wrong?</font></span></div>
</blockquote>
That means that the cgi file [tr.cgi] isn't being executed properly.<br>
<br>
The documentation included in the package actually has better
information than what's online.<br>
<br>
<ol>
<li>
<p>Make sure your webserver can execute cgi files outside the
cgi-bin
directory. Maybe it is enough to create a <em>.htaccess</em> file with
the
following contents into the smokeping web directory ($web).</p>
<pre> AddHandler cgi-script cgi
Options ExecCGI</pre>
</li>
</ol>
That worked fine for me running an Apache2 webserver, but obviously
your mileage may vary depending on your configuration.<br>
<br>
Here's the rest of the documentation as well.<br>
<br>
<ol>
<li>
<p>Copy <code>htdocs/script/Tr.js</code> to your smokeping web
directory (NOT the cgi-bin
directory!).</p>
<pre> mkdir $web/script
cp $src/htdocs/script/Tr.js $web/script/</pre>
</li>
<li>
<p>Copy <code>htdocs/tr.html</code> to your smokeping web
directory (NOT cgi-bin). Make
sure the path, pointing to <code>Tr.js</code> is correct.</p>
<pre> cp $src/htdocs/tr.html $web/</pre>
</li>
<li>
<p>Copy <code>htdocs/resource</code> into the directory where you
put <code>tr.html</code></p>
<pre> cp -r $src/htdocs/resource $web/</pre>
</li>
<li>
<p>Copy <em>htdocs/tr.cgi.dist</em> to the directory where you put
<code>tr.html</code>. Change
its name to <code>tr.cgi</code>. Edit <code>tr.cgi</code> to adjust
the <code>use lib</code> line, to
point to the smokeping perl library directory, as you did with
<code>smokeping.cgi</code> and the smokeping daemon.
</p>
<pre> cp $src/htdocs/tr.cgi.dist $web/tr.cgi</pre>
</li>
<li>
<p>Edit your config file and add the line:</p>
<pre> menuextra = <a target='_blank' href='tr.html{HOST}' class='{CLASS}' \
onclick="window.open(this.href,this.target, \
'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \
return false;">*</a></pre>
</li>
</ol>
<br>
</body>
</html>