From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/268583-check_apache.pl.diff | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 web/attachments/268583-check_apache.pl.diff (limited to 'web/attachments/268583-check_apache.pl.diff') 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 @@ +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) { -- cgit v1.2.3-74-g34f1