ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/rrdgraphing.conf
Revision: 1.5
Committed: Thu Feb 10 17:35:58 2005 UTC (19 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.4: +7 -1 lines
Log Message:
Commit various fixes from skel (Daniel Piddock):

CMS Server:
 - DiskMonitor was overflowing due to using an int variable for the
   inode count. Upped to a long.
 - Updated URL to iscream cms javadoc

RRD graphing:
 - added uptime logging and graph creation
 - diskio - Cope with modern linux device paths
   (eg "ide/host0/bus0/target0/lun0/disc") by replacing / with hex
 - diskio - Cope with windows device paths (eg "0 C: D:") by
   replacing : and space with hex
 - disk - Cope with windows mount points (eg C:\) by
   replacing : and \ with hex
 - net - Cope with windows network "device names". Basically
   the whole network card as it appears in Device Manager,
   not "Local Area Connection"
 - Include total processes (for winhost)

Also modified the PHP code to catch up. Patch slightly modified from that
submitted, but only minor alterations.

Thanks skel!

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.5 # $Id: rrdgraphing.conf,v 1.4 2004/08/01 10:40:32 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.1
71     # step interval in the rrd databases
72 tdb 1.3 $rrdstep = 60;
73 tdb 1.1
74     # time to wait (in seconds) before retrying a connection
75     # to the i-scream server
76     $retry_wait = 10;
77    
78     # should the program be verbose?
79     $verbose = 0;
80    
81     # should the program be quiet? (even errors!)
82     $quiet = 0;