check_ntp_peer: Fix --help output for -W and -C

Mention that the check_ntp_peer plugin checks the stratum of the
synchronization peer, not the stratum of the monitored server itself.

Thanks to Marc Haber for bringing this up on the "nagios-users" mailing
list (Message-ID: <20120722142840.GA6931@torres.zugschlus.de>).
check_ntp_peer: Fix --help output for -m and -n

Fix the threshold specifications in the example for checking the number
of truechimers.

Reported by Marc Haber on the "nagios-users" mailing list (Message-ID:
<20120722142840.GA6931@torres.zugschlus.de>).
NEWS: Mention fixed compilation without SSL
tests/check_http.t: Fix test case

Fix the test case which is meant to make sure that

	check_http -C <n>,<m> [...]

returns a CRITICAL state if <m> is large enough.
tests/check_http.t: Update the number of SSL tests
tests/check_http.t: Fix whitespace issues

In tests/check_http.t, tabs are used for indentation.

While at it, apply another few cosmetic changes.
fixing bug in certificate experiation patch checking for bad warning threshold data
check_http: Add missing newline to --help output
check_http: Update description of -C option

Mention that the -C option now accepts two comma-separated values.
This patch fixes the regular expression for the array recovery
completion percentage to detect the percentage when there is more than
one space between between "recovery =" and the percentage. (When
the percentage is less than 10%, /proc/mdstat shows it left-padded
with an extra space: "recovery =  7.6%".)
Merge pull request #18 from abradley/recoverypct

Bugfix: Detect array recovery percentages < 10% in check_linux_raid.pl
Update plugins/check_disk.c

CRITCAL -> CRITICAL typo
Merge pull request #19 from gvarisco/patch-1

Update plugins/check_disk.c
Allow for configuring OpenSSL

Let OpenSSL load its configuration file.  See the OPENSSL_config(3) man
page for details.

(Suggested by Max Kosmach in Debian bug report #689960, forwarded by Jan
Wagner.)
Added additional documentation to the check_range function
NEWS: Mention the OPENSSL_config(3) support
Make check_snmp backwards compatible in how it parses thresholds

Once upon a time, check_snmp used to accept inverse ranges in the
format of '2:1' to mean "alert if value is inside this range".

Since commit 7cb3ae09334796f3b54e4e6438e38c2cc679b360, ranges such
as those have instead triggered the error "Range format incorrect"
and resulted in an UNKNOWN warning state. This patch attempts to
fix the situation so that the old-style ranges continues to mean
exactly what the once did and people with lots of snmp checks can
avoid a bazillion false positives from their environments.

Signed-off-by: Andreas Ericsson <ae@op5.se>
lib/utils_base.c: Stop dumping core on bad args to check_snmp

Since the state patch introduction, we've been freeing uninitialized
memory in lib/utils_base.c::np_cleanup(), which caused coredumps
with check_snmp when illegal threshold ranges (for example) were
passed, or when we called 'die' without having read any state.

This patch fixes it by replacing the malloc() calls in there (all of
them, since using malloc() is almost always an error) with calloc().

malloc() either doesn't initialize the memory at all, or taints it
with a special marker so it can tell us when we're free()'ing memory
that hasn't been initialized. calloc() explicitly initializes the
allocated memory to nul bytes, which is a zero-cost operation when
we get the memory from the kernel (which alread does that) and almost
always desirable everywhere else.

Signed-off-by: Andreas Ericsson <ae@op5.se>
plugins/check_snmp: Show snmp error when we fail to parse its output

Dying without a hint of what went wrong is just plain annoying. With
this patch we at least get a hint.

While at it, we fix the string offset so the output we're interested
in doesn't keep the equal sign that snmpget prints.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Add scripts that update man pages in drupal