diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-18 10:44:41 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-18 10:44:41 +0200 |
commit | 070bc5b094673943de88d10920f8d3e6be29f706 (patch) | |
tree | 3c69adaa80a69fc7a04aaaedbe78441111e778b1 /charts.d/squid.chart.sh | |
parent | 9c006f6d037a2023cadcf77db865fc47d1804d69 (diff) |
charts.d can be added multiple times
Diffstat (limited to 'charts.d/squid.chart.sh')
-rwxr-xr-x | charts.d/squid.chart.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh index fad8f9f7a3..ac262f2678 100755 --- a/charts.d/squid.chart.sh +++ b/charts.d/squid.chart.sh @@ -16,6 +16,10 @@ EOF } squid_check() { + require_cmd nc || return 1 + require_cmd sed || return 1 + require_cmd egrep || return 1 + squid_url="cache_object://$squid_host:$squid_port/counters" # check once if the url works |