summaryrefslogtreecommitdiffstats
path: root/web/attachments/268583-check_apache.pl.diff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/268583-check_apache.pl.diff
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/268583-check_apache.pl.diff')
-rw-r--r--web/attachments/268583-check_apache.pl.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/attachments/268583-check_apache.pl.diff b/web/attachments/268583-check_apache.pl.diff
new file mode 100644
index 0000000..f90513b
--- /dev/null
+++ b/web/attachments/268583-check_apache.pl.diff
@@ -0,0 +1,10 @@
1156,157c156,157
2< if (/^BusyServers:\s+([0-9.]+)\s+/) { $busy = $1; next; }
3< if (/^IdleServers:\s+([0-9.]+)\s+/) { $idle = $1; next; }
4---
5> if (/^BusyWorkers:\s+([0-9.]+)\s+/) { $busy = $1; next; }
6> if (/^IdleWorkers:\s+([0-9.]+)\s+/) { $idle = $1; next; }
7219c219
8< if($average>0) {
9---
10> if($average>=0) {