jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [settings] - Blame information for rev 21

 

Line No. Rev Author Line
11simandl# 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#
65DAEMONDIR="/opt/HotSaNIC"
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#
72BINPATH="/usr/bin"
73 
74# set LOGDIR to the directory where logfiles shall be created
75# LOGDIR="$DAEMONDIR/var/log/"
76#
77VARDIR="$DAEMONDIR/var/"
78 
79# set LOGDIR to the directory where logfiles shall be created
80# LOGDIR="$DAEMONDIR/var/log/"
81#
82LOGDIR="$DAEMONDIR/var/log/"
83 
84# path to the pid-file for the daemon
85# PIDFILE="$DAEMONDIR/log/rrdtimer.pid"
86#
87PIDFILE="$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#
102DIAGRAMLOG="last"
103LOGSIZE="200000"
104LOGBACKUPS="5"
105 
106# level of debugging (-1 .. 5)
107# -1 means no debugging information at all
108#
109DEBUGLEVEL="-1"
110 
111# module-scan timebase (seconds)
112# After this time the daemon re-scans for available modules.
113#
114STIME="120"
115 
116# scheduling timings in milliseconds
117# this configures the time between the sampling signals given to the
118# module daemons
119#
120SCHEDULE_MIN="100"
121SCHEDULE_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="iwconf part ping system traffic routing2 sensors networks"
12815simandlRUN="part ping system traffic"
1291simandl#RUN="ping traffic system"
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#
14115simandlWEBDIR="/home/www/html/hotsanic/"
1421simandl 
143# Sizes of all output-graphics in pixels
144#
145WIDTH="400"
146HEIGHT="150"
147 
148# the output-format of the generated images may be either "gif" or "png"
149#
150IMAGEFORMAT="png"
151 
152# modules listed here (space separated) will be shown on webpage
153# to use all availabe mods you may enter
154# SHOW="*"
155#
15615simandlSHOW="part ping system traffic"
1571simandl 
158# in which order shall the modules appear on the webpage
159# unlisted mods will be added in alphabetical order
160#
16115simandlORDER="ping traffic system part"
1621simandl 
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#
169DTIME="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#
175CTIME="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#
190CONVERTMETHOD="ImgMgck"
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="/usr/bin/convert"
198CONVERTPATH="/usr/bin/convert"
199 
200# How much shall the thumbnails be scaled compared to the originals.
201# Default is 20%.
202#
203THUMBSIZE="10%"
204 
205# refresh time for graphs
206# The browser automatically reloads the detailed statistics after
207# this timespan.
208#
209# If you want to disable the auto-refresh, just set the variable to 0
210#
211REFRESH="300"
212 
213 
214 
215#####################################################################
216# #
217# Helper applications #
218# #
219#####################################################################
220 
221# configure the pathes of some additional applications which may be
222# needed by HotSaNIC
223#
224 
225# configure the full pathes to snmpwalk and snmpget binaries here.
226# These may be needed to get data from remote machines.
227#
228SNMPWALK="/usr/bin/snmpwalk"
229SNMPGET="/usr/bin/snmpget"
230SNMPBULKWALK="/usr/bin/snmpbulkwalk"

Powered by WebSVN 2.2.1