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/186091-check_mem.pl.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 web/attachments/186091-check_mem.pl.patch (limited to 'web/attachments/186091-check_mem.pl.patch') diff --git a/web/attachments/186091-check_mem.pl.patch b/web/attachments/186091-check_mem.pl.patch new file mode 100644 index 0000000..9eaec75 --- /dev/null +++ b/web/attachments/186091-check_mem.pl.patch @@ -0,0 +1,17 @@ +*** check_mem.pl 2006-05-24 15:47:09.000000000 -0700 +--- modified_check_mem.pl 2006-07-24 13:58:06.000000000 -0700 +*************** +*** 46,51 **** + + # Define the calculating scalars +! $used_memory = $memlist[0]; +! $free_memory = $memlist[1]; + $total_memory = $used_memory + $free_memory; + +--- 46,51 ---- + + # Define the calculating scalars +! $used_memory = $memlist[1]; +! $free_memory = $memlist[0]; + $total_memory = $used_memory + $free_memory; + -- cgit v1.2.3-74-g34f1