[nagiosplug] Mention the check_range function in NEWS, etc.

"Nagios Plugin Development" <[email protected]> Tue, 29 May 2012 13:10:17 +0000
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
 Module: nagiosplug
 Branch: master
 Commit: 804e7d878cad5c76474fd2abf2130ff446dbda5d
 Author: Holger Weiss <[email protected]>
   Date: Tue May 29 14:27:58 2012 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=804e7d8

Mention the check_range function in NEWS, etc.

---

 NEWS                        |    1 +
 THANKS.in                   |    1 +
 plugins-scripts/utils.sh.in |    6 +++---
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index fbc5c8b..a4a38d9 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ This file documents the major additions and syntax changes between releases.
 	New option to check_smtp to ignore failures when sending QUIT (#3358348 - Duncan Ferguson)
 	New check_by_ssh -F option which allows for specifying an alternative ssh_config(5) file (#2895334 - Sven Nierlein)
 	check_sensors now detects faulty sensors unless --ignore-fault is specified (Jan Wagner)
+	utils.sh now provides a check_range function (Alex Griffin)
 	Updated Nagios::Plugin perl module
 
 	FIXES
diff --git a/THANKS.in b/THANKS.in
index 0b82024..9a0521b 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -270,3 +270,4 @@ Stéphane Urbanovski
 Marco Beck
 Sebastian Harl
 Jason Lunn
+Alex Griffin
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in
index d5013a6..5fae6ad 100644
--- a/plugins-scripts/utils.sh.in
+++ b/plugins-scripts/utils.sh.in
@@ -21,9 +21,10 @@ support() {
 	$ECHO "@SUPPORT@" | sed -e 's/\n/ /g'
 }
 
-
+#
 # check_range takes a value and a range string, returning successfully if an
-# alert should be raised based on the range
+# alert should be raised based on the range.
+#
 check_range() {
 	local v range yes no err decimal start end cmp match
 	v="$1"
@@ -105,4 +106,3 @@ check_range() {
 		return "$no"
 	fi
 }
-


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagiosplug-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagiosplug-checkins