/usr/share/check_mk/checks-man/multipath is in check-mk-server 1.2.8p16-1ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | title: State of multipathing on Linux
agents: linux
catalog: os/storage
license: GPL
distribution: check_mk
description:
This check monitors the state of multipath devices on Linux
hosts. For each multipath device at time of inventory the number
of paths is put into the check parameters. If later the number
of paths is less then expected, the check goes critical. So it
does if any of the paths is broken.
If the number of paths is higher than expected, the check goes
warning. A reinventory of the check might be neccessary in that
case.
This check is based on the output of the command {multipath -l} as
sent by the Linux agent. It correctly deals with various subtle
differences between the available versions of the multipath tools.
item:
The UUID of the multipath device, e.g. {"360a980004334644d654a364469555a76"}.
If the multipath device has an alias you can alternatively specify the
alias as item.
inventory:
One check for each multipath device is created. Via {iventory_multipath_rules}
you can specify wether an alias should be used as item instead of the UUID.
examples:
# Use the alias as item if one is being set
inventory_multipath_rules = [
( {'use_alias': True}, [], ALL_HOSTS ),
]
[parameters]
numpaths(int): The only parameter is the number of expected paths. This is not
a tuple but a simple integer value.
[configuration]
inventory_multipath_rules(ruleset): A dictionary ruleset with currently the only possible
key being {use_alias}. See section inventory for details.
|