# In this file all global settings for HotSaNIC are defined. ##################################################################### # # # First we set some important system globals... # # # ##################################################################### # Which type of operating system do you use ... # Currently supported are: # # OSTYPE="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 # diskio not tested not tested not tested # dnet --- should work (it's just log-parsing) --- # networks --- currently only for Linux/IPTables --- # part ok ok ok # ping should work not tested ok # sensors not tested not tested not tested # system not tested not tested ok # traffic ok not tested ok # worms --- should work (it's just log-parsing) --- # OSTYPE="Linux" ##################################################################### # # # Then let's configure some pathes... # # # ##################################################################### # path to the HotSaNIC main-directory # this has to be a directory ! # # DAEMONDIR="/home/daemon/HotSaNIC" # DAEMONDIR="/usr/local/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/log/" # LOGDIR="$DAEMONDIR/log/" # path to the pid-file for the daemon # PIDFILE="$DAEMONDIR/log/rrdtimer.pid" # PIDFILE="$DAEMONDIR/log/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 diagram. # when logfiles reach LOGSIZE they will get rotated. # LOGBACKUPS old logfiles will be kept as backups # DIAGRAMLOG="last" LOGSIZE="200000" LOGBACKUPS="5" # 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" # modules listed here (space separated) will be executed # to use all availabe mods you may enter # RUN="*" # RUN="sensors part traffic diskio system" ##################################################################### # # # 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/httpd/html/rrdtool" # Sizes of all output-graphics in pixels # WIDTH="600" HEIGHT="200" # 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="sensors part traffic diskio system" # in which order shall the modules appear on the webpage # unlisted mods will be added in alphabetical order # ORDER="traffic system part ping dnet sensors" # 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/X11R6/bin/convert" # How much shall the thumbnails be scaled compared to the originals. # Default is 20%. # THUMBSIZE="20%" # 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"