wlstats-gather: Make the hostname and interval configurable

This commit is contained in:
Petko Bordjukov 2015-11-04 17:50:52 +02:00
parent d262b3d839
commit d43ad47e33
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@
# Changelog: 2015.05.25 - Initial version
# Variable Definition
_HOSTNAME='testhost'
_PERIOD=60 # in seconds
_HOSTNAME="${COLLECTD_HOSTNAME:-localhost}"
_PERIOD="${COLLECTD_INTERVAL:-60}"
_PLUGIN='wlstats'
# Binaries