summaryrefslogtreecommitdiffstats
path: root/gl/asprintf.c
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2023-11-27 13:00:57 +0100
committerSven Nierlein <sven@consol.de>2023-11-27 13:04:10 +0100
commit579db5a93071547f5484c1690b621a60b46b2e1e (patch)
tree63ae74bb66e65077ab0c1a0b32828c15cfb11eaf /gl/asprintf.c
parentf59c51601122ceac7ef4571d1993a34728e76813 (diff)
downloadmonitoring-plugins-579db5a.tar.gz
check_disk: fix ignore-missing in combination with includes (fixes #1963)
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 'gl/asprintf.c')
0 files changed, 0 insertions, 0 deletions