1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>doc/smokeping.cgi</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->
<!--
<ul>
<li><a href="#name">NAME</a></li>
<li><a href="#overview">OVERVIEW</a></li>
<li><a href="#description">DESCRIPTION</a></li>
<li><a href="#setup">SETUP</a></li>
<li><a href="#copyright">COPYRIGHT</a></li>
<li><a href="#license">LICENSE</a></li>
<li><a href="#author">AUTHOR</a></li>
</ul>
-->
<!-- INDEX END -->
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>smokeping.cgi - SmokePing webfrontend</p>
<p>
</p>
<hr />
<h1><a name="overview">OVERVIEW</a></h1>
<p>This script acts as a 'website' for your SmokePing monitoring operation. It
presents the targets you are looking at in a tree structure and draws graphs
as they are required by people looking at the pages.</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>To get <strong>smokeping.cgi</strong> going, you need a webserver which allows you to run
cgi scripts. The system must be setup so that the <strong>smokeping.cgi</strong> is
allowed to write to the image caching area as defined in the config file.</p>
<p>This script runs with normal perl. <strong>BUT</strong> it will appear to be very slow,
because it does a lot of things when starting up. So if the script has to be
started a fresh on every click, this is both slow and a tough thing for your
webserver. I therefore strongly recomment using SpeedyCGI.</p>
<p>Please refer to the installation document for detailed setup instructions.</p>
<p>
</p>
<hr />
<h1><a name="setup">SETUP</a></h1>
<p>When installing SmokePing, this file has to be adjusted to fit your
local system. Three paths have to be entered.</p>
<pre>
use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);</pre>
<p>One pointing to your <strong>rrdtool</strong> installation</p>
<pre>
use lib qw(/home/oetiker/public_html/smokeping/lib);</pre>
<p>One pointing to the place where you have installed the SmokePing libraries</p>
<pre>
use Smokeping;</pre>
<pre>
Smokeping::cgi("/home/oetiker/.smokeping/config");</pre>
<p>The third path is the argument to the Smokeping::cgi command. It points to
the SmokePing configuration file.</p>
<p>
</p>
<hr />
<h1><a name="copyright">COPYRIGHT</a></h1>
<p>Copyright (c) 2001 by Tobias Oetiker. All right reserved.</p>
<p>
</p>
<hr />
<h1><a name="license">LICENSE</a></h1>
<p>This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.</p>
<p>You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.</p>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Tobias Oetiker <<a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>></p>
</body>
</html>
|