summaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2023-11-27 12:00:57 (GMT)
committerSven Nierlein <sven@consol.de>2023-11-27 12:04:10 (GMT)
commit579db5a93071547f5484c1690b621a60b46b2e1e (patch)
tree63ae74bb66e65077ab0c1a0b32828c15cfb11eaf /build-aux
parentf59c51601122ceac7ef4571d1993a34728e76813 (diff)
downloadmonitoring-plugins-579db5a93071547f5484c1690b621a60b46b2e1e.tar.gz
check_disk: fix ignore-missing in combination with includes (fixes #1963)refs/pull/1967/head
Using --ignore-missing together with regex matching and ignore option lead to a wrong error message. ./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2 DISK UNKNOWN: Paths need to be selected before using -i/-I. Use -A to select all paths explicitly The use case here is a cluster with fail-over mounts. So it is a valid situation that the regex match does not find anything in addtition with a ignore which also does not exist. After this patch: ./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2 DISK OK - No disks were found for provided parameters|
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions