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
|
# Changelog: 2015.05.25 - Initial version
|
||||||
|
|
||||||
# Variable Definition
|
# Variable Definition
|
||||||
_HOSTNAME='testhost'
|
_HOSTNAME="${COLLECTD_HOSTNAME:-localhost}"
|
||||||
_PERIOD=60 # in seconds
|
_PERIOD="${COLLECTD_INTERVAL:-60}"
|
||||||
_PLUGIN='wlstats'
|
_PLUGIN='wlstats'
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
|
|
Loading…
Reference in New Issue