diff options
author | Sven Nierlein <sven@consol.de> | 2023-11-27 13:00:57 +0100 |
---|---|---|
committer | Sven Nierlein <sven@consol.de> | 2023-11-27 13:04:10 +0100 |
commit | 579db5a93071547f5484c1690b621a60b46b2e1e (patch) | |
tree | 63ae74bb66e65077ab0c1a0b32828c15cfb11eaf /plugins/t/check_mysql_query.t | |
parent | f59c51601122ceac7ef4571d1993a34728e76813 (diff) | |
download | monitoring-plugins-579db5a93071547f5484c1690b621a60b46b2e1e.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 'plugins/t/check_mysql_query.t')
0 files changed, 0 insertions, 0 deletions