~ubuntu-branches/debian/experimental/smokeping/experimental

« back to all changes in this revision

Viewing changes to doc/smokeping.cgi.html

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2002-04-02 15:02:08 UTC
  • Revision ID: james.westby@ubuntu.com-20020402150208-8eycqntc07q6gig5
Tags: upstream-1.6
ImportĀ upstreamĀ versionĀ 1.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
<HEAD>
 
3
<TITLE>smokeping.cgi</TITLE>
 
4
<LINK REV="made" HREF="mailto:karrer@iis.ee.ethz.ch">
 
5
</HEAD>
 
6
 
 
7
<BODY>
 
8
 
 
9
<A NAME="__index__"></A>
 
10
<!-- INDEX BEGIN -->
 
11
<!--
 
12
 
 
13
<UL>
 
14
 
 
15
        <LI><A HREF="#name">NAME</A></LI>
 
16
        <LI><A HREF="#overview">OVERVIEW</A></LI>
 
17
        <LI><A HREF="#description">DESCRIPTION</A></LI>
 
18
        <LI><A HREF="#setup">SETUP</A></LI>
 
19
        <LI><A HREF="#copyright">COPYRIGHT</A></LI>
 
20
        <LI><A HREF="#license">LICENSE</A></LI>
 
21
        <LI><A HREF="#author">AUTHOR</A></LI>
 
22
</UL>
 
23
-->
 
24
<!-- INDEX END -->
 
25
 
 
26
<P>
 
27
<H1><A NAME="name">NAME</A></H1>
 
28
<P>smokeping.cgi - SmokePing webfrontend</P>
 
29
<P>
 
30
<HR>
 
31
<H1><A NAME="overview">OVERVIEW</A></H1>
 
32
<P>This script acts as a 'website' for your SmokePing monitoring operation. It
 
33
presents the targets you are looking at in a tree structure and draws graphs
 
34
as they are required by people looking at the pages.</P>
 
35
<P>
 
36
<HR>
 
37
<H1><A NAME="description">DESCRIPTION</A></H1>
 
38
<P>To get <STRONG>smokeping.cgi</STRONG> going, you need a webserver which allows you to run
 
39
cgi scripts. The system must be setup so that the <STRONG>smokeping.cgi</STRONG> is
 
40
allowed to write to the image caching area as defined in the config file.</P>
 
41
<P>This script runs with normal perl. <STRONG>BUT</STRONG> it will appear to be very slow,
 
42
because it does a lot of things when starting up. So if the script has to be
 
43
started a fresh on every click, this is both slow and a tough thing for your
 
44
webserver. I therefore strongly recomment using SpeedyCGI.</P>
 
45
<P>Please refer to the installation document for detailed setup instructions.</P>
 
46
<P>
 
47
<HR>
 
48
<H1><A NAME="setup">SETUP</A></H1>
 
49
<P>When installing SmokePing, this file has to be adjusted to fit your
 
50
local system. Three paths have to be entered.</P>
 
51
<PRE>
 
52
 use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);</PRE>
 
53
<P>One pointing to your <STRONG>rrdtool</STRONG> installation</P>
 
54
<PRE>
 
55
 use lib qw(/home/oetiker/public_html/smokeping/lib);</PRE>
 
56
<P>One pointing to the place where you have installed the SmokePing libraries</P>
 
57
<PRE>
 
58
 use Smokeping;</PRE>
 
59
<PRE>
 
60
 Smokeping::cgi(&quot;/home/oetiker/.smokeping/config&quot;);</PRE>
 
61
<P>The third path is the argument to the Smokeping::main command. It points to
 
62
the SmokePing configuration file.</P>
 
63
<P>
 
64
<HR>
 
65
<H1><A NAME="copyright">COPYRIGHT</A></H1>
 
66
<P>Copyright (c) 2001 by Tobias Oetiker. All right reserved.</P>
 
67
<P>
 
68
<HR>
 
69
<H1><A NAME="license">LICENSE</A></H1>
 
70
<P>This program is free software; you can redistribute it
 
71
and/or modify it under the terms of the GNU General Public
 
72
License as published by the Free Software Foundation; either
 
73
version 2 of the License, or (at your option) any later
 
74
version.</P>
 
75
<P>This program is distributed in the hope that it will be
 
76
useful, but WITHOUT ANY WARRANTY; without even the implied
 
77
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
78
PURPOSE.  See the GNU General Public License for more
 
79
details.</P>
 
80
<P>You should have received a copy of the GNU General Public
 
81
License along with this program; if not, write to the Free
 
82
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
 
83
02139, USA.</P>
 
84
<P>
 
85
<HR>
 
86
<H1><A NAME="author">AUTHOR</A></H1>
 
87
<P>Tobias Oetiker &lt;tobi\@oetiker.ch&gt;</P>
 
88
 
 
89
</BODY>
 
90
 
 
91
</HTML>