![]() ![]() |
hotsanic |
Subversion Repositories: |
Compare with Previous - Blame - Download
# In this file all global settings for HotSaNIC are defined.## Currently supported operating systems are:## Linux# fully featured for any Linux system, based on Kernel 2.4.x# 2.2.x based systems may encounter some incompatibilities## OpenBSD# FreeBSD# NetBSD# at the moment a lot of work has to be done to get the system# completely running under BSD based systems. Currently supported# are the following modules:## |FreeBSD |OpenBSD |NetBSD# ----------+---------------+---------------+-----------# apcusv |untested |untested |untested# apps |yes |should work |yes# diskio |no |no |yes# dnet |yes |should work |should work# networks |no |no |no# part |yes |yes |yes# ping |yes |untested |yes# sensors |yes(1) |no |untested# shoutcast |should work |should work |should work# system |yes |untested |yes# traffic |yes |should work |yes# worms |should work |should work |should work## (1) using the xmbmon utility ver 2.0 or later# http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/# (can be compiled without X support!!!)### solaris# same (if not more) amount of work has to be done on Solaris. The# current state for this %&%@"$&&%$ OS looks as follows:## apcusv yes# apps should work# diskio no# dnet should work# networks no# part no# ping should work# sensors no# shoutcast should work# system yes# traffic no# worms should work###################################################################### ## Then let's configure some pathes... ## ####################################################################### path to the HotSaNIC main-directory# this has to be a directory !## DAEMONDIR="/home/daemon/HotSaNIC"#DAEMONDIR="/opt/HotSaNIC"# path to the "rrdtool" binary# this has to be a directory !## BINPATH="/usr/local/rrdtool-1.0.33/bin"#BINPATH="/usr/bin"# set LOGDIR to the directory where logfiles shall be created# LOGDIR="$DAEMONDIR/var/log/"#VARDIR="$DAEMONDIR/var/"# set LOGDIR to the directory where logfiles shall be created# LOGDIR="$DAEMONDIR/var/log/"#LOGDIR="$DAEMONDIR/var/log/"# path to the pid-file for the daemon# PIDFILE="$DAEMONDIR/log/rrdtimer.pid"#PIDFILE="$DAEMONDIR/var/run/rrdtimer.pid"###################################################################### ## Here are some global parameters ## ####################################################################### if DIAGRGAMLOG is set to "all" then all diagrams will be logged.# anything else will log only the last run of diagram script.# when logfiles reach LOGSIZE they will get rotated.# LOGBACKUPS old logfiles will be kept as backups#DIAGRAMLOG="last"LOGSIZE="200000"LOGBACKUPS="1"# level of debugging (-1 .. 5)# -1 means no debugging information at all#DEBUGLEVEL="-1"# module-scan timebase (seconds)# After this time the daemon re-scans for available modules.#STIME="120"# scheduling timings in milliseconds# this configures the time between the sampling signals given to the# module daemons#SCHEDULE_MIN="100"SCHEDULE_MAX="200"# modules listed here (space separated) will be executed# to use all availabe mods you may enter# RUN="*"##RUN="iwconf part ping system traffic routing2 sensors networks"RUN="part ping system traffic temp wireless sensors wireless-sd wireless-ml wireless-nec fiber-100g"#RUN="ping traffic system wireless temp"###################################################################### ## These settings affect the diagram generation ## ####################################################################### web-directory for all graphs# this directory must be writeable for the rrdgraph tool# because each plugin will create its own subdir here.#WEBDIR="/home/www/html/hotsanic/"# Sizes of all output-graphics in pixels#WIDTH="400"HEIGHT="150"# the output-format of the generated images may be either "gif" or "png"#IMAGEFORMAT="png"# modules listed here (space separated) will be shown on webpage# to use all availabe mods you may enter# SHOW="*"#SHOW="part ping system traffic temp wireless sensors wireless-sd wireless-ml wireless-nec fiber-100g"# in which order shall the modules appear on the webpage# unlisted mods will be added in alphabetical order#ORDER="ping traffic part system temp wireless sensors wireless-sd wireless-ml wireless-nec fiber-100g"# diagram-rebuild timebase (minutes).# Usually 15 min. should do fine, but if you think your system# is too busy, just increase the timebase as you like.# Values up to about 45 make sense since the lowest-scale graph# covers 60 minutes of data sampled.#DTIME="15"# diagram-convert timebase (hours)# After this time the weekly diagrams are being converted to# the smaller pictures on the main page.#CTIME="24"# This setting controlss how the images will be converted# to thumbnails## Value Behaviour## "ImgMgck" Call ImageMagick's "convert" to create thumbnails## "I::M" Use the Image::Magick module## "HTML" Don't convert at all, but use the HTML image resize# tag instead. More data has to be transfered using# this method, but you won't need additional software.#CONVERTMETHOD="ImgMgck"# path to the "convert" binary from ImageMagick package# this has to be the full path to the binary !## CONVERTPATH="/usr/X11R6/bin/convert"##CONVERTPATH="/usr/bin/convert"CONVERTPATH="/usr/bin/convert"# How much shall the thumbnails be scaled compared to the originals.# Default is 20%.#THUMBSIZE="10%"# refresh time for graphs# The browser automatically reloads the detailed statistics after# this timespan.## If you want to disable the auto-refresh, just set the variable to 0#REFRESH="300"###################################################################### ## Helper applications ## ####################################################################### configure the pathes of some additional applications which may be# needed by HotSaNIC## configure the full pathes to snmpwalk and snmpget binaries here.# These may be needed to get data from remote machines.#SNMPWALK="/usr/bin/snmpwalk"SNMPGET="/usr/bin/snmpget"SNMPBULKWALK="/usr/bin/snmpbulkwalk"