diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-21 02:03:59 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-21 02:03:59 +0300 |
commit | db16450bd8ef9e93cd557d75e92cba5a87c1fb73 (patch) | |
tree | d2166b2f8b019be72b928d69909e37c922442cfd /charts.d/phpfpm.chart.sh | |
parent | 37cb08efe88d63174877ebaa1868298e862caafd (diff) |
added option -Ss to curl so that errors are logged
Diffstat (limited to 'charts.d/phpfpm.chart.sh')
-rwxr-xr-x[-rw-r--r--] | charts.d/phpfpm.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/phpfpm.chart.sh b/charts.d/phpfpm.chart.sh index 4c54aa522e..60e6b2c102 100644..100755 --- a/charts.d/phpfpm.chart.sh +++ b/charts.d/phpfpm.chart.sh @@ -30,7 +30,7 @@ phpfpm_max_children_reached=0 phpfpm_slow_requests=0 phpfpm_get() { url=$1 - phpfpm_response=($(curl -s "${url}")) + phpfpm_response=($(curl -Ss "${url}")) [ $? -ne 0 -o "${#phpfpm_response[@]}" -eq 0 ] && return 1 if [[ "${phpfpm_response[0]}" != "pool:" \ |