ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/rrdgraphing.conf
Revision: 1.7
Committed: Wed Jun 29 10:26:40 2005 UTC (19 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.6: +3 -1 lines
Log Message:
Bunch of updates from skel to sort the encoding of filenames.
I'm beginning to think that we should be just encoding the whole
name or something like that :)

File Contents

# User Rev Content
1 tdb 1.1 #
2     # i-scream central monitoring system
3 tdb 1.4 # http://www.i-scream.org
4 tdb 1.1 # Copyright (C) 2000-2002 i-scream
5     #
6     # This program is free software; you can redistribute it and/or
7     # modify it under the terms of the GNU General Public License
8     # as published by the Free Software Foundation; either version 2
9     # of the License, or (at your option) any later version.
10     #
11     # This program is distributed in the hope that it will be useful,
12     # but WITHOUT ANY WARRANTY; without even the implied warranty of
13     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     # GNU General Public License for more details.
15     #
16     # You should have received a copy of the GNU General Public License
17     # along with this program; if not, write to the Free Software
18     # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19     #
20    
21     # -----------------------------------------------------------
22     # i-scream rrd graphing configuration file
23 tdb 1.4 # http://www.i-scream.org
24 tdb 1.1 #
25     # Holds configuration for the perl scripts.
26     #
27 tdb 1.2 # $Author: tdb $
28 tdb 1.7 # $Id: rrdgraphing.conf,v 1.6 2005/06/15 10:41:25 tdb Exp $
29 tdb 1.1 #------------------------------------------------------------
30    
31     # !! if this file gets updated, the perl scripts must also be updated !!
32    
33     # Base directory for images
34     # (a directory will be constructed for each host under this)
35     # This directory should be in the root of the php webpage structure
36 tdb 1.3 $imgdir = "/opt/rrdgraphing/graphs";
37 tdb 1.1
38     # Location of RRD databases
39 tdb 1.3 $rrddir = "/opt/rrdgraphing/databases";
40 tdb 1.1
41     # maximum age (last modified) before an rrd or graph get cleaned up
42     # (in seconds)
43     $maxrrdage = 3600; # 1 hour
44     $maximgage = 3600; # 1 hour
45    
46     # delete rrd's when they get cleaned up?
47     # if unset, will just ignore the rrd's
48     # - usually best to leave this off, we don't want to delete useful rrds :)
49     $deleterrds = 0;
50    
51     # delete graphs when they get cleaned up?
52     # if unset, won't bother checking at all
53     # - usually best to leave this on
54     $deleteimgs = 1;
55    
56     # for reference:
57     # ch -> hex: $hex = sprintf("%02x", ord($ch));
58     # hex -> ch: $ch = chr(hex($hex));
59    
60     # / converted to a decimal then hex'd
61     $hex_slash = "_2f";
62     # _ converted to a decimal then hex'd
63     $hex_underscore = "_5f";
64 tdb 1.5 # (space) converted to a decimal then hex'd
65     $hex_space = "_20";
66     # : converted to a decimal then hex'd
67     $hex_colon = "_3A";
68     # \ converted to a decimal then hex'd
69     $hex_bslash = "_5C";
70 tdb 1.6 # ( converted to a decimal then hex'd
71     $hex_rbracket = "_28";
72     # ) converted to a decimal then hex'd
73     $hex_lbracket = "_29";
74     # + converted to a decimal then hex'd
75     $hex_plus = "_2B";
76 tdb 1.7 # # converted to a decimal then hex'd
77     $hex_hash = "_23";
78 tdb 1.1
79     # step interval in the rrd databases
80 tdb 1.3 $rrdstep = 60;
81 tdb 1.1
82     # time to wait (in seconds) before retrying a connection
83     # to the i-scream server
84     $retry_wait = 10;
85    
86     # should the program be verbose?
87     $verbose = 0;
88    
89     # should the program be quiet? (even errors!)
90     $quiet = 0;