1
SMOKEPING.CGI(1) SmokePing SMOKEPING.CGI(1)
6
smokeping.cgi - SmokePing webfrontend
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.
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.
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.
26
Please refer to the installation document for detailed
30
When installing SmokePing, this file has to be adjusted to
31
fit your local system. Three paths have to be entered.
33
use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
35
One pointing to your rrrrrrrrddddttttoooooooollll installation
37
use lib qw(/home/oetiker/public_html/smokeping/lib);
39
One pointing to the place where you have installed the
44
Smokeping::cgi("/home/oetiker/.smokeping/config");
46
The third path is the argument to the Smokeping::main com-
47
mand. It points to the SmokePing configuration file.
49
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
50
Copyright (c) 2001 by Tobias Oetiker. All right reserved.
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
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
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
70
AAAAUUUUTTTTHHHHOOOORRRR
71
Tobias Oetiker <tobi\@oetiker.ch>
75
2002-02-26 1.6 SMOKEPING.CGI(1)