diff --git a/monitoring/collectd/scripts/wlstats-gather/wlstats-gather.sh b/monitoring/collectd/scripts/wlstats-gather/wlstats-gather.sh index 9f554e8..5d4f371 100644 --- a/monitoring/collectd/scripts/wlstats-gather/wlstats-gather.sh +++ b/monitoring/collectd/scripts/wlstats-gather/wlstats-gather.sh @@ -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