webminstats configuration help
graphic options
rrdtool
full path to rrdtool command
graph_sizex
width in pixels of display graphs
graph_sizey
height in pixels of display graphs
snapshot_dir
directory for snapshots
panorama_period
default period for panorama display.
The format is : xP, with x a number, P is H for hours, D for days, W for weeks, M for months.
For exemple : 2W ask for 2 weeks
max_display
maximum number of display ( graphs pages for the same module)
icon_by_row
number of icons by row in main page and in footer
icons
show icons menu if true
else show only html links
aquisition
max_mod_time
max allowed process time, in second, for a module aquisition.
if the module duration is greater than max_mod_time, a warning is sent.
value of 0 means no warning
max_time
max allowed process time, in second, for a full aquisition (all modules).
if the aquisition duration is greater than max_time, a warning is sent.
value of 0 means no warning
alarm_time
max allowed elapsed time, in second, for a module aquisition.
if the module duration is greater than alarm_time, the module aquisition is interrupted.
value of 0 means illimited duration allowed
max_log_size
max file size, in bytes. Several modules (internet, genfile, dns, ...) are parsing files, and
the acquisition becomes very slow if the files become too large.
If the size of the scanned file is greater than max_log_size, a warning is sent.
value of 0 means no warning.
parallel_mode
in standard aquisition, all modules are run, one after the other. This may be long.
the parallel mode try to run all module in parallel, using all processors : aquisition is shorter,
but load will be higher.
This mode is currently in beta version.
nice
data aquisition is done by cron job, with a default priority (2) lower than interactive process.
use nice parameter to adjust the priority :
- < 0 : for process with high priority
- 0 is same priority as interactive process
- > 0 : for process with low priority
server
check_update
if set to yes, webminstats will try to connect to
it's repository and check for new releases. the information
is displayed at end of index page, with links to download
new code.
debug_mode
set debug mode to yes for debugging the server part.
the output goes to webminstats.log log file
max log lines to display
log files may be very big (and also slow to display). To solve this problem,
webminstat will only display the last lines of log file (as a 'tail -n').
This parameter is how many lines to dsiplay.
alarms
mailto
data aquisition is done by a cron job, runned as root, and output is return by mail as a warning.
the mailto parameter allow to configure another email adress to send the warnings.
min time beetwen alarms
It is the time (in secondes) between 2 alarm's warnings for a module.
It will avoid to fill your email box, and give you time to solve the problem.
min time (s) beetwen 2 actions
It is the time (in secondes) between 2 actions for the same rule.
It will avoid to fill your email box, and give you time to solve the problem.