1 | 1 | simandl | # In this file all global settings for HotSaNIC are defined. |
2 | | | # |
3 | | | # Currently supported operating systems are: |
4 | | | # |
5 | | | # Linux |
6 | | | # fully featured for any Linux system, based on Kernel 2.4.x |
7 | | | # 2.2.x based systems may encounter some incompatibilities |
8 | | | # |
9 | | | # OpenBSD |
10 | | | # FreeBSD |
11 | | | # NetBSD |
12 | | | # at the moment a lot of work has to be done to get the system |
13 | | | # completely running under BSD based systems. Currently supported |
14 | | | # are the following modules: |
15 | | | # |
16 | | | # |FreeBSD |OpenBSD |NetBSD |
17 | | | # ----------+---------------+---------------+----------- |
18 | | | # apcusv |untested |untested |untested |
19 | | | # apps |yes |should work |yes |
20 | | | # diskio |no |no |yes |
21 | | | # dnet |yes |should work |should work |
22 | | | # networks |no |no |no |
23 | | | # part |yes |yes |yes |
24 | | | # ping |yes |untested |yes |
25 | | | # sensors |yes(1) |no |untested |
26 | | | # shoutcast |should work |should work |should work |
27 | | | # system |yes |untested |yes |
28 | | | # traffic |yes |should work |yes |
29 | | | # worms |should work |should work |should work |
30 | | | # |
31 | | | # (1) using the xmbmon utility ver 2.0 or later |
32 | | | # http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ |
33 | | | # (can be compiled without X support!!!) |
34 | | | # |
35 | | | # |
36 | | | # solaris |
37 | | | # same (if not more) amount of work has to be done on Solaris. The |
38 | | | # current state for this %&%@"$&&%$ OS looks as follows: |
39 | | | # |
40 | | | # apcusv yes |
41 | | | # apps should work |
42 | | | # diskio no |
43 | | | # dnet should work |
44 | | | # networks no |
45 | | | # part no |
46 | | | # ping should work |
47 | | | # sensors no |
48 | | | # shoutcast should work |
49 | | | # system yes |
50 | | | # traffic no |
51 | | | # worms should work |
52 | | | |
53 | | | |
54 | | | ##################################################################### |
55 | | | # # |
56 | | | # Then let's configure some pathes... # |
57 | | | # # |
58 | | | ##################################################################### |
59 | | | |
60 | | | # path to the HotSaNIC main-directory |
61 | | | # this has to be a directory ! |
62 | | | # |
63 | | | # DAEMONDIR="/home/daemon/HotSaNIC" |
64 | | | # |
65 | | | DAEMONDIR="not configured" |
66 | | | |
67 | | | # path to the "rrdtool" binary |
68 | | | # this has to be a directory ! |
69 | | | # |
70 | | | # BINPATH="/usr/local/rrdtool-1.0.33/bin" |
71 | | | # |
72 | | | BINPATH="not configured" |
73 | | | |
74 | | | # set LOGDIR to the directory where logfiles shall be created |
75 | | | # LOGDIR="$DAEMONDIR/var/log/" |
76 | | | # |
77 | | | VARDIR="$DAEMONDIR/var/" |
78 | | | |
79 | | | # set LOGDIR to the directory where logfiles shall be created |
80 | | | # LOGDIR="$DAEMONDIR/var/log/" |
81 | | | # |
82 | | | LOGDIR="$DAEMONDIR/var/log/" |
83 | | | |
84 | | | # path to the pid-file for the daemon |
85 | | | # PIDFILE="$DAEMONDIR/log/rrdtimer.pid" |
86 | | | # |
87 | | | PIDFILE="$DAEMONDIR/var/run/rrdtimer.pid" |
88 | | | |
89 | | | |
90 | | | |
91 | | | ##################################################################### |
92 | | | # # |
93 | | | # Here are some global parameters # |
94 | | | # # |
95 | | | ##################################################################### |
96 | | | |
97 | | | # if DIAGRGAMLOG is set to "all" then all diagrams will be logged. |
98 | | | # anything else will log only the last run of diagram script. |
99 | | | # when logfiles reach LOGSIZE they will get rotated. |
100 | | | # LOGBACKUPS old logfiles will be kept as backups |
101 | | | # |
102 | | | DIAGRAMLOG="last" |
103 | | | LOGSIZE="200000" |
104 | | | LOGBACKUPS="5" |
105 | | | |
106 | | | # level of debugging (-1 .. 5) |
107 | | | # -1 means no debugging information at all |
108 | | | # |
109 | | | DEBUGLEVEL="-1" |
110 | | | |
111 | | | # module-scan timebase (seconds) |
112 | | | # After this time the daemon re-scans for available modules. |
113 | | | # |
114 | | | STIME="120" |
115 | | | |
116 | | | # scheduling timings in milliseconds |
117 | | | # this configures the time between the sampling signals given to the |
118 | | | # module daemons |
119 | | | # |
120 | | | SCHEDULE_MIN=100 |
121 | | | SCHEDULE_MAX=200 |
122 | | | |
123 | | | # modules listed here (space separated) will be executed |
124 | | | # to use all availabe mods you may enter |
125 | | | # RUN="*" |
126 | | | # |
127 | | | RUN="*" |
128 | | | |
129 | | | |
130 | | | |
131 | | | ##################################################################### |
132 | | | # # |
133 | | | # These settings affect the diagram generation # |
134 | | | # # |
135 | | | ##################################################################### |
136 | | | |
137 | | | # web-directory for all graphs |
138 | | | # this directory must be writeable for the rrdgraph tool |
139 | | | # because each plugin will create its own subdir here. |
140 | | | # |
141 | | | WEBDIR="not configured" |
142 | | | |
143 | | | # Sizes of all output-graphics in pixels |
144 | | | # |
145 | | | WIDTH="600" |
146 | | | HEIGHT="200" |
147 | | | |
148 | | | # the output-format of the generated images may be either "gif" or "png" |
149 | | | # |
150 | | | IMAGEFORMAT="gif" |
151 | | | |
152 | | | # modules listed here (space separated) will be shown on webpage |
153 | | | # to use all availabe mods you may enter |
154 | | | # SHOW="*" |
155 | | | # |
156 | | | SHOW="*" |
157 | | | |
158 | | | # in which order shall the modules appear on the webpage |
159 | | | # unlisted mods will be added in alphabetical order |
160 | | | # |
161 | | | ORDER="traffic system part ping dnet sensors" |
162 | | | |
163 | | | # diagram-rebuild timebase (minutes). |
164 | | | # Usually 15 min. should do fine, but if you think your system |
165 | | | # is too busy, just increase the timebase as you like. |
166 | | | # Values up to about 45 make sense since the lowest-scale graph |
167 | | | # covers 60 minutes of data sampled. |
168 | | | # |
169 | | | DTIME="15" |
170 | | | |
171 | | | # diagram-convert timebase (hours) |
172 | | | # After this time the weekly diagrams are being converted to |
173 | | | # the smaller pictures on the main page. |
174 | | | # |
175 | | | CTIME="24" |
176 | | | |
177 | | | # This setting controlss how the images will be converted |
178 | | | # to thumbnails |
179 | | | # |
180 | | | # Value Behaviour |
181 | | | # |
182 | | | # "ImgMgck" Call ImageMagick's "convert" to create thumbnails |
183 | | | # |
184 | | | # "I::M" Use the Image::Magick module |
185 | | | # |
186 | | | # "HTML" Don't convert at all, but use the HTML image resize |
187 | | | # tag instead. More data has to be transfered using |
188 | | | # this method, but you won't need additional software. |
189 | | | # |
190 | | | CONVERTMETHOD="not configured" |
191 | | | |
192 | | | # path to the "convert" binary from ImageMagick package |
193 | | | # this has to be the full path to the binary ! |
194 | | | # |
195 | | | # CONVERTPATH="/usr/X11R6/bin/convert" |
196 | | | # |
197 | | | CONVERTPATH="not configured" |
198 | | | |
199 | | | # How much shall the thumbnails be scaled compared to the originals. |
200 | | | # Default is 20%. |
201 | | | # |
202 | | | THUMBSIZE="20%" |
203 | | | |
204 | | | # refresh time for graphs |
205 | | | # The browser automatically reloads the detailed statistics after |
206 | | | # this timespan. |
207 | | | # |
208 | | | # If you want to disable the auto-refresh, just set the variable to 0 |
209 | | | # |
210 | | | REFRESH="300" |
211 | | | |
212 | | | |
213 | | | |
214 | | | ##################################################################### |
215 | | | # # |
216 | | | # Helper applications # |
217 | | | # # |
218 | | | ##################################################################### |
219 | | | |
220 | | | # configure the pathes of some additional applications which may be |
221 | | | # needed by HotSaNIC |
222 | | | # |
223 | | | |
224 | | | # configure the full pathes to snmpwalk and snmpget binaries here. |
225 | | | # These may be needed to get data from remote machines. |
226 | | | # |
227 | | | SNMPWALK="not configured" |
228 | | | SNMPGET="not configured" |
229 | | | SNMPBULKWALK="not configured" |