aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2012-05-29 14:27:58 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2012-05-29 14:27:58 +0200
commit804e7d878cad5c76474fd2abf2130ff446dbda5d (patch)
treeb784baf092bf68cbf1a9139e6e522afbd4332283 /plugins-scripts
parentaab6b8a16c9ec1dfe9d27f70cfbe19281153e306 (diff)
downloadmonitoring-plugins-804e7d878cad5c76474fd2abf2130ff446dbda5d.tar.gz
Mention the check_range function in NEWS, etc.
Diffstat (limited to 'plugins-scripts')
-rw-r--r--plugins-scripts/utils.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in
index d5013a60..5fae6adb 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
}
-