CHECK_MULTI(8)

πŸ“¦
version 0.26 Β· 4 versions
, in debian bookworm, ubuntu noble

πŸ’– NAME πŸ’–

check_multi β€” a nagios plugin that combines multiple service checks into one single run, bestie. one run. that's it. that's the whole vibe ✨


🌸 DESCRIPTION 🌸

okay so here's the tea, the whole usage situation:

check_multi -f <config file> [-n name] [-t timeout] [-T TIMEOUT]
            [-r level] [-l libexec_path] [-s option=value]
check_multi [-h | --help] [-hh extended help] [-hhh complete help]
check_multi [-v | --verbose] check_multi [-V | --version]

more infos on http://my-plugin.de/check_multi πŸ¦‹ (go look, i'm not kidding)


πŸŽ€ Common options

  • -f, --filename β€” the config file holding the commands that get executed. you can drop several files in a row, like serially, and if filename is actually a directory then all the .cmd files get taken 🫢 (file format follows nrpe style: command[tag]=plugin command line)
  • -n, --name β€” the multi plugin name (shown in output), default: (the page just says "default:" and then… nothing, bestie, it really just trails off like that πŸ’€)
  • -r, --report <level> β€” specify level of details in output. the level is binary coded, so you literally just sum up all the options. default: 13 ✨ see more details with the extended help option -hh
  • -s, --set <option>=<value> β€” <KEY>=<VALUE> β€” sets multi variable $<KEY>$ to <VALUE>. see more details with the complete help option -hhh πŸ’…
  • -t, --timeout β€” timeout for one command, default: 11
  • -T, --TIMEOUT β€” TIMEOUT for all commands, default: 60
  • -l, --libexec β€” path to plugins, default: /usr/lib/nagios/plugins
  • -h, --help β€” print detailed help screen (extended help with -hh, complete help with -hhh) πŸ‘‘
  • -v, --verbose β€” prints debug output (multiple -v extend debug level) πŸ”₯
  • -V, --version β€” print version information

🌈 Extended command line

not me telling you that command file options are also available right on the command line, periodt:

  • -x, --execute "command [ tag ] = check_xyz"
  • -i, --instant "tag"
  • -y, --inventory
  • -w, --warning <expression>
  • -c, --critical <expression>
  • -u, --unknown <expression>
  • -o, --ok <expression>

and that's the whole page, fr fr. every flag, every default, every -hhh, untouched. i would never gatekeep πŸ’œ

this has been check_multi 0.26-5, from December 2022, served with main character energy from the System Administration Utilities corner of the manual. byeeee πŸ§šπŸ“πŸ’–

πŸ“¦ where this page comes from