~ubuntu-branches/ubuntu/edgy/smokeping/edgy-proposed

« back to all changes in this revision

Viewing changes to doc/smokeping.cgi.txt

  • 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
SMOKEPING.CGI(1)            SmokePing            SMOKEPING.CGI(1)
 
2
 
 
3
 
 
4
 
 
5
NNNNAAAAMMMMEEEE
 
6
       smokeping.cgi - SmokePing webfrontend
 
7
 
 
8
OOOOVVVVEEEERRRRVVVVIIIIEEEEWWWW
 
9
       This script acts as a 'website' for your SmokePing moni-
 
10
       toring operation. It presents the targets you are looking
 
11
       at in a tree structure and draws graphs as they are
 
12
       required by people looking at the pages.
 
13
 
 
14
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
 
15
       To get ssssmmmmooookkkkeeeeppppiiiinnnngggg....ccccggggiiii going, you need a webserver which
 
16
       allows you to run cgi scripts. The system must be setup so
 
17
       that the ssssmmmmooookkkkeeeeppppiiiinnnngggg....ccccggggiiii is allowed to write to the image
 
18
       caching area as defined in the config file.
 
19
 
 
20
       This script runs with normal perl. BBBBUUUUTTTT it will appear to
 
21
       be very slow, because it does a lot of things when start-
 
22
       ing up. So if the script has to be started a fresh on
 
23
       every click, this is both slow and a tough thing for your
 
24
       webserver. I therefore strongly recomment using SpeedyCGI.
 
25
 
 
26
       Please refer to the installation document for detailed
 
27
       setup instructions.
 
28
 
 
29
SSSSEEEETTTTUUUUPPPP
 
30
       When installing SmokePing, this file has to be adjusted to
 
31
       fit your local system. Three paths have to be entered.
 
32
 
 
33
        use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
 
34
 
 
35
       One pointing to your rrrrrrrrddddttttoooooooollll installation
 
36
 
 
37
        use lib qw(/home/oetiker/public_html/smokeping/lib);
 
38
 
 
39
       One pointing to the place where you have installed the
 
40
       SmokePing libraries
 
41
 
 
42
        use Smokeping;
 
43
 
 
44
        Smokeping::cgi("/home/oetiker/.smokeping/config");
 
45
 
 
46
       The third path is the argument to the Smokeping::main com-
 
47
       mand. It points to the SmokePing configuration file.
 
48
 
 
49
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
 
50
       Copyright (c) 2001 by Tobias Oetiker. All right reserved.
 
51
 
 
52
LLLLIIIICCCCEEEENNNNSSSSEEEE
 
53
       This program is free software; you can redistribute it
 
54
       and/or modify it under the terms of the GNU General Public
 
55
       License as published by the Free Software Foundation;
 
56
       either version 2 of the License, or (at your option) any
 
57
       later version.
 
58
 
 
59
       This program is distributed in the hope that it will be
 
60
       useful, but WITHOUT ANY WARRANTY; without even the implied
 
61
       warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
62
       PURPOSE.  See the GNU General Public License for more
 
63
       details.
 
64
 
 
65
       You should have received a copy of the GNU General Public
 
66
       License along with this program; if not, write to the Free
 
67
       Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
 
68
       02139, USA.
 
69
 
 
70
AAAAUUUUTTTTHHHHOOOORRRR
 
71
       Tobias Oetiker <tobi\@oetiker.ch>
 
72
 
 
73
 
 
74
 
 
75
2002-02-26                     1.6               SMOKEPING.CGI(1)