wlstats-gather: Make the hostname and interval configurable
This commit is contained in:
parent
d262b3d839
commit
d43ad47e33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue