summaryrefslogtreecommitdiffstats
path: root/charts.d/crsproxy.chart.sh
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
committerLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
commit30b94862648cdbf4f537337d2e2f01c369a9dee9 (patch)
treef0219dd8bd744fc09899bd0266402e05a4bff854 /charts.d/crsproxy.chart.sh
parentImported Upstream version 1.0.0 (diff)
downloadnetdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.tar.xz
netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'charts.d/crsproxy.chart.sh')
-rwxr-xr-xcharts.d/crsproxy.chart.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/charts.d/crsproxy.chart.sh b/charts.d/crsproxy.chart.sh
index fc5358b43..9ad8b3382 100755
--- a/charts.d/crsproxy.chart.sh
+++ b/charts.d/crsproxy.chart.sh
@@ -16,6 +16,9 @@ crsproxy_get() {
}
crsproxy_check() {
+ # make sure we have all the commands we need
+ require_cmd wget || return 1
+
if [ -z "$crsproxy_url" ]
then
echo >&2 "$PROGRAM_NAME: crsproxy: not configured. Please set crsproxy_url='url' in $confd/crsproxy.conf"