#-----------------------------------------------------------------------------------
# Optional package: OPT_TRAFFICMON				v0.5.2X
#
# Creation:     2002.07.01
# Last Update:  2002.10.16  bue
#
# Please read the documentation in /doc/deutsch/opt/trafficmon_v0.xX.txt
#-----------------------------------------------------------------------------------

OPT_TRAFFICMON='yes'

TRAFFICMON_DEVICE='ppp0'			# device to get rates from (ppp0=dsl)

TRAFFICMON_DATAPATH='/usr/local/data/trafficmon.log'	# path to your logfile on your hd
TRAFFICMON_REFRESHINTERVAL='*/15 * * * *'	# alle 15 minuten die Traffic-Daten aktualisieren (im cron-syntax)

TRAFFICMON_BACKUP='yes'				# make backup yes/no
TRAFFICMON_BACKUPDIR='/usr/local/data/backup'	# path to your backup-directory
						# In case of a reset the current logfile is saved too
						# with a "_reset<currenttime>" extension to the normal filename
TRAFFICMON_BACKUPINTERVAL='00 0,6,12,18 * * *'	# alle 6 Stunden ein Backup machen (im cron-syntax)

###############################################################################
# Falls TRAFFICMON_DATAPATH auf der RAM-Disk liegt (damit die HD nicht dauernd
# anlaeuft), kann mittels TRAFFICMON_RESTORE und TRAFFICMON_RESTOREPATH
# angegeben werden, wohin der Inhalt von trafficmon.log beim reboot/halt
# gerettet werden soll. Aus dieser Datei wird, unabhaengig vom Backup,
# TRAFFICMON_DATAPATH restauriert.
###############################################################################
TRAFFICMON_RESTORE='no'				# make restore after reboot yes/no (see above)
TRAFFICMON_RESTOREPATH='/usr/local/data/logs/trafficmon.log'	# path to your restore-directory

TRAFFICMON_LCD='yes'				# save LCD-Files yes/no
TRAFFICMON_FILE_DOWN='/etc/lcd_text_down.txt'	# store download here (for LCD display)
TRAFFICMON_FILE_UP='/etc/lcd_text_up.txt'	# store upload here (for LCD display)

TRAFFICMON_HTTPD='yes'				# shows the trafficmon.log and a graphical
						# Display of the Traffic in the httpd
TRAFFICMON_RESET='01'				# Day of month the Logfile should be
						# resetted. (0 = no reset) Time=18:00
TRAFFICMON_LIMIT='10000'			# insert your Trafficlimit in MB
						# 0 = infinite
						# default is 10000

###############################################################################
# weitere Informationen zum cron-Syntax unter
# http://www.pl-berichte.de/t_system/crontab.html
# oder http://www.linuxfibel.de/time.htm
# oder http://www.linux-magazin.de/ausgabe/1998/08/Cron/cron.html
# oder http://www.newbie-net.de/anleitung_cron.html
###############################################################################