Mini Shell
Direktori : /etc/sysconfig/ |
|
Current File : //etc/sysconfig/lvestats2 |
# Following option selects appropriate database type to use.
# db_type = mysql
# db_type = postgresql
db_type = sqlite
# Connection string for PostGreSQL and MySQL database has the following form
#
# connect_string = USER:PASSWORD@HOST[:PORT]/DATABASE
#
# Use default port for specific database if port is not specified.
# Typical port is 3306 for MySQL and 5432 for PostGreSQL.
#
# Connection string is not used for sqlite database.
#
# Put appropriate connection string here:
connect_string = localhost:root:root
#Collect usernames and their correspondance to hosts and uids in database. Recommended for
#use with centralized database. Possible values: true, false
collect_usernames=false
# The following option sets the name of the server in form:
# server_id = any_name
# Name of the server should be at most 10 characters.
# This option is to use with centralized database (PostGreSQL or MySQL).
# For use with sqlite database, value of this option should be "localhost" (without quotes).
server_id=da189ca8-b
# Default folder containing custom plugins for lve-stats
plugins=/usr/share/lve-stats/plugins
# Period of time to write data to database (seconds)
db_timeout=60
# Timeout for custom plugins (seconds). If plugin execution does not finish within this period, plugin is terminated
timeout=5
# Duration of one cycle of lvestats-server (seconds). This should be less than total duration of execution of all plugins
# Increasing this parameter makes precision of statistics worse
interval=5
# Period of time (in days) to keep history in database. Old data is removed from database
keep_history_days=30
# support for compatibility with older version lveinfo
# v1 - lveinfo v.1 (old version)
# v2 next generation v.2
# if absent = later version
mode=v1
# Disable snapshots and incidents. Possible values: true, false
disable_snapshots=false
Zerion Mini Shell 1.0