diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/186091-check_mem.pl.patch | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/186091-check_mem.pl.patch')
-rw-r--r-- | web/attachments/186091-check_mem.pl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
1 | *** check_mem.pl 2006-05-24 15:47:09.000000000 -0700 | ||
2 | --- modified_check_mem.pl 2006-07-24 13:58:06.000000000 -0700 | ||
3 | *************** | ||
4 | *** 46,51 **** | ||
5 | |||
6 | # Define the calculating scalars | ||
7 | ! $used_memory = $memlist[0]; | ||
8 | ! $free_memory = $memlist[1]; | ||
9 | $total_memory = $used_memory + $free_memory; | ||
10 | |||
11 | --- 46,51 ---- | ||
12 | |||
13 | # Define the calculating scalars | ||
14 | ! $used_memory = $memlist[1]; | ||
15 | ! $free_memory = $memlist[0]; | ||
16 | $total_memory = $used_memory + $free_memory; | ||
17 | |||