@cryptotaxi247 / netdata-1 / commits / 4aebecd04

added check for wget #127

Costa Tsaousis (ktsaou) committed Apr 2, 2016 at 02:27 UTC 4aebecd04dad5b69a6b79ff4a525d68a11bd879a
1 file changed +3
charts.d/crsproxy.chart.sh
+3
@@ -16,6 +16,9 @@ crsproxy_get() {
16 }
17
18 crsproxy_check() {
19 + # make sure we have all the commands we need
20 + require_cmd wget || return 1
21 +
22 if [ -z "$crsproxy_url" ]
23 then
24 echo >&2 "$PROGRAM_NAME: crsproxy: not configured. Please set crsproxy_url='url' in $confd/crsproxy.conf"