summaryrefslogtreecommitdiffstats
path: root/charts.d/crsproxy.chart.sh
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-04-21 12:27:39 +0000
committerLennart Weller <lhw@ring0.de>2016-04-21 12:27:39 +0000
commitedff5c9db775e6e4318f3ad007df78ecae456190 (patch)
tree3677e5fcbccc776c77dd0451e5be4711068bff46 /charts.d/crsproxy.chart.sh
parentAdd postrm and TODO, update service (diff)
parentImported Upstream version 1.1.0 (diff)
downloadnetdata-edff5c9db775e6e4318f3ad007df78ecae456190.tar.xz
netdata-edff5c9db775e6e4318f3ad007df78ecae456190.zip
Merge tag 'upstream/1.1.0'
Upstream version 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 fc5358b4..9ad8b338 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"