Fix typos in -f help text
Patch for check_linux_raid with on linear/raid0 arrays

Fixes bug #3049988, Debian bug #579049
sfsnapshotgit: Better handling of remote refs

This commit allow to track branches from unusually-named remote refs and
makes possible using external remotes (other than origin) for snapshots.
check_nt: make UPTIME accept warning/critical levels

Patch originally by Ryan Kelly
Update NEWS for last commit
check_snmp now considers strings returned by SNMP that contain just
numbers (according to strtod) to be a numeric value for threshold and
performance data
Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603)

Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in
the parameter_list structure. Assignments have been moved to a subroutine preventing
code redundancies.
Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation
when blocksizes differ within a group.
Make check_disk_smb accept spaces in share names (#990948, #1370031, Debian #601699)
check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)
add test cases for check_disk_smb
check_snmp: Remove that is_numeric madness

Original patch to make Timeticks works as in check_snmp v1.4.14, it turns
out is_numeric isn't so useful and treating all types as numeric works
best for backwards-compatibility. This is how it used to work in 1.4.14.

As a special case, I also make calculate_rate look up for numeric values
as it would otherwise return the last value instead.
State-based tests enhancements

- Use /var/tmp for state if no state dir environment variable is set,
  this avoid the need for a writable localstatedir during tests.
- Use "rm -f", mostly to avoid printing out garbage of the directory
  doesn't exists
Revert "check_snmp now considers strings returned by SNMP that contain just"

This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c.

Conflicts:

	NEWS
	plugins/tests/check_snmp.t

Notes:
	Reverting because I rebased a patch that was doing the same thing, plus
	fixing more related regressions, and both didn't work together.
	I kept the tests intact except for one that wouldn't pass on 1.4.14
	either
Fix minor test issues

My Test::More wouldn't print the total number of tests anymore, moving
the plan at the top appears to fix it.

At the same time I made check-http.t eval the special modules so it can
skip the tests instead of failing.
Fix check_ldap overriding the port when --ssl was specified after -p
Make check_http use standard threshold functions

This enables floating point and ranges, and make the code more standard.
Update the README text
Test updates...

1. Timetick test could fail with uptime > 115 days. Thresholds are
double type, so it's safe to put a large number even for 32bit systems.
2. Add a test based on an invalid bug report, worthy anyway.
Fix for regex input of '|', being output causing problems with Nagios' parsing of
performance data. Now replaced with ','
check_http: check for and print the certificate cn

This patch adds a check for the certificate cn (hostname) to normal
certificate checks. It returns CRITICAL if th cn is missing, otherwise it
prints it in the normal output.

Patch by Stéphane Urbanovski