# 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="/usr/local/HotSaNIC"
# HotSaNIC
のパスを指定する
# path to the
"rrdtool" binary
# this has to be a
directory !
#
#
BINPATH="/usr/local/rrdtool-1.0.33/bin"
#
BINPATH="/usr/local/rrdtool/bin"
# RRDTOOL
のパスを指定する
# 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="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" # モジュールの実行時間間隔を指定する
# 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="apps diskio dnet
netstat networks part ping system traffic"
#使用するモジュールを指定する
#####################################################################
#
#
# 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="/var/www/stat/hotsanic"
#
グラフ出力先のディレクトリを指定する
# 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="gif"
# グラフ画像のファイル形式を指定する
# modules listed here
(space separated) will be shown on webpage
# to use all availabe
mods you may enter
# SHOW="*"
#
SHOW="apps diskio
netstat networks part ping system traffic"
#表示させるモジュールの指定する
# 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/bin/convert"
#
ImageMagick の 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/local/bin/snmpwalk"
# SNMP
を使用する場合は指定する
SNMPGET="/usr/local/bin/snmpget"
SNMPBULKWALK="snmpbulkget"
|