summaryrefslogtreecommitdiffstats
path: root/web/attachments/268583-check_apache.pl.diff
blob: f90513b24d69490cb11e0ae38e95271214f11a15 (plain)
1
2
3
4
5
6
7
8
9
10
156,157c156,157
<         if (/^BusyServers:\s+([0-9.]+)\s+/) { $busy = $1; next; }
<         if (/^IdleServers:\s+([0-9.]+)\s+/) { $idle = $1; next; }
---
>         if (/^BusyWorkers:\s+([0-9.]+)\s+/) { $busy = $1; next; }
>         if (/^IdleWorkers:\s+([0-9.]+)\s+/) { $idle = $1; next; }
219c219
<      if($average>0) {
---
>      if($average>=0) {