This adds a new option (-O or --okifempty) to be able to make the plug-in return OK if the given criteria returns no disks found, instead of the (usually appropriate) UNKNOWN default.
This is useful for cases when you have all your known disks monitored in different checks (e.g. to be able to place different thresholds for each) but you want to ensure that if someone adds a new disk to the system it will still be monitored (so you can now use -O -e -m '(expression|matching|other|known|disks)' for that particular check).
In environments where several parties have access to administering the same system, but you are the one responsible for monitoring it, this can be an important feature to have.
This adds a new option (
-O
or--okifempty
) to be able to make the plug-in return OK if the given criteria returns no disks found, instead of the (usually appropriate) UNKNOWN default.This is useful for cases when you have all your known disks monitored in different checks (e.g. to be able to place different thresholds for each) but you want to ensure that if someone adds a new disk to the system it will still be monitored (so you can now use
-O -e -m '(expression|matching|other|known|disks)'
for that particular check).In environments where several parties have access to administering the same system, but you are the one responsible for monitoring it, this can be an important feature to have.