ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/rrdgraphing.conf
Revision: 1.8
Committed: Thu Nov 23 16:37:44 2006 UTC (18 years ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +5 -1 lines
Log Message:
Make graph sizes configurable. Needed for rrdtool 1.2.x when text is
anti-aliased and no longer fits.

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.8 # $Id: rrdgraphing.conf,v 1.7 2005/06/29 10:26:40 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 tdb 1.8 # Size of images, in pixels
39     $imgwidth = 500;
40     $imgheight = 150;
41    
42 tdb 1.1 # Location of RRD databases
43 tdb 1.3 $rrddir = "/opt/rrdgraphing/databases";
44 tdb 1.1
45     # maximum age (last modified) before an rrd or graph get cleaned up
46     # (in seconds)
47     $maxrrdage = 3600; # 1 hour
48     $maximgage = 3600; # 1 hour
49    
50     # delete rrd's when they get cleaned up?
51     # if unset, will just ignore the rrd's
52     # - usually best to leave this off, we don't want to delete useful rrds :)
53     $deleterrds = 0;
54    
55     # delete graphs when they get cleaned up?
56     # if unset, won't bother checking at all
57     # - usually best to leave this on
58     $deleteimgs = 1;
59    
60     # for reference:
61     # ch -> hex: $hex = sprintf("%02x", ord($ch));
62     # hex -> ch: $ch = chr(hex($hex));
63    
64     # / converted to a decimal then hex'd
65     $hex_slash = "_2f";
66     # _ converted to a decimal then hex'd
67     $hex_underscore = "_5f";
68 tdb 1.5 # (space) converted to a decimal then hex'd
69     $hex_space = "_20";
70     # : converted to a decimal then hex'd
71     $hex_colon = "_3A";
72     # \ converted to a decimal then hex'd
73     $hex_bslash = "_5C";
74 tdb 1.6 # ( converted to a decimal then hex'd
75     $hex_rbracket = "_28";
76     # ) converted to a decimal then hex'd
77     $hex_lbracket = "_29";
78     # + converted to a decimal then hex'd
79     $hex_plus = "_2B";
80 tdb 1.7 # # converted to a decimal then hex'd
81     $hex_hash = "_23";
82 tdb 1.1
83     # step interval in the rrd databases
84 tdb 1.3 $rrdstep = 60;
85 tdb 1.1
86     # time to wait (in seconds) before retrying a connection
87     # to the i-scream server
88     $retry_wait = 10;
89    
90     # should the program be verbose?
91     $verbose = 0;
92    
93     # should the program be quiet? (even errors!)
94     $quiet = 0;