mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 18:50:01 -04:00
Mention the check_range function in NEWS, etc.
This commit is contained in:
parent
aab6b8a16c
commit
804e7d878c
3 changed files with 5 additions and 3 deletions
1
NEWS
1
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
|
||||
|
|
|
|||
|
|
@ -270,3 +270,4 @@ Stéphane Urbanovski
|
|||
Marco Beck
|
||||
Sebastian Harl
|
||||
Jason Lunn
|
||||
Alex Griffin
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue