NRPE-NG(1)

πŸ’– NRPE-NG(1) πŸ’–

okay bestie, welcome to the General Commands Manual page for nrpe-ng β€” yes the man page name is literally NRPE-NG(1), and yes we're about to make it make sense. grab a strawberry drink, we're doing infra today πŸ“βœ¨


✨ NAME ✨

nrpe-ng β€” the next generation Nagios Remote Plugin Executor πŸ¦‹


🌸 SYNOPSIS 🌸

nrpe-ng -c CONFIG_FILE [options]

πŸ’… DESCRIPTION πŸ’…

So like, nrpe-ng is a rewrite of NRPE, aka the Nagios Remote Plugin Executor. It's giving two-for-one deal energy: there's a daemon called nrpe-ng, and a client program called check_nrpe_ng, and they work in concert (the way that they team up? iconic) to run Nagios check scripts on remote hosts. πŸ”₯

And listen β€” this specific man page is for the daemon half of the duo. That's the part that runs on the hosts where you actually wanna run the check programs. so if you're looking for the client, this is not it, bestie, this is the daemon's moment. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

This program supports the following options, and we're going through every single one, no skips, periodt:

  • -h β€” shows you a lil summary of all the available command-line options. your "wait what were the flags again" bestie 🫢
  • -v β€” displays the program's version number and then dips out (exits). ✨
  • --debug β€” turns on debugging mode, which makes the logging way more verbose β€” but heads up, it also stops the program from logging to syslog. so you get all the tea but it stays out of the syslog pot πŸ«–
  • --c CONFIG_FILE, --config CONFIG_FILE β€” tell it which configuration file to use when running the daemon. this one is required, like genuinely required, not optional-required, actually required. no config file, no daemon. πŸ’€
  • -d, --daemon β€” forks the program and keeps it running in the background as a daemon. and plot twist: this is the default, so you literally don't need to pass either of these options to get this behaviour. it's already doing it. main character energy, no effort required πŸ‘‘
  • -f β€” do not fork into the background, and stay in the foreground instead. it's the exact opposite of -d or --daemon, and it's lowkey useful when you're debugging. πŸ›

🌈 SEE ALSO 🌈


and that's the whole page, bestie, we ate that πŸ’… ngl this one's from 2014-11-07, it's the nrpe-ng page, and it lives under the NRPE-NG(1) manual name β€” so go run your checks, stay in the foreground if you're debugging, and don't forget your -c CONFIG_FILE because it's required. mwah πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from