upgrade_nagios(8)

πŸ“¦ version 4.5.12, in opensuse-leap 16.0

πŸ’… upgrade_nagios(8) β€” the Nagios glow-up page

okay so bestie, welcome to the upgrade_nagios page from the Nagios manual β€” yes it's section 8, yes it's the sysadmin one, and yes we're gonna make it cute ✨


🌸 NAME 🌸

Upgrade Nagios Configuration β€” literally what it says on the tin, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

upgrade_nagios [-d] [-h] [-l] [-p] [-V] <main_config_file>

that's the whole vibe. flags first, config file last. periodt πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so nagios_upgrade will upgrade your main nagios configuration file by adding/removing configuration values. that's it, that's the whole job β€” it goes in and edits stuff in your main config so it matches whatever the new version expects πŸ’–


✨ OPTIONS ✨

  • main_config_file β€” the main configuration file. on openSUSE systems this defaults to etc/nagios/nagios.cfg πŸ‘‘
  • -h β€” a helpful usage message πŸ₯° (everyone loves a helpful message)
  • -V β€” prints version information about the script itself (not nagios, the script, iykyk) πŸ”
  • -d β€” enables debug mode: nothing will be done in real β€” all commands will be printed on STDOUT instead πŸ›‘βœ¨ it's giving "look but don't touch", perfect for a vibe check before you commit
  • -l β€” provide another path to the logfile. default is /var/log/nagios_upgrade.log πŸ“
  • -p β€” provide another path to the Nagios lock file (default: /run/nagios/nagios.pid) πŸ”’

🌈 FILES 🌈

  • /etc/nagios/nagios.cfg β€” default configuration file for Nagios πŸ’œ
  • /var/log/nagios/nagios_upgrade.log β€” logfile used by the nagios_upgrade script πŸ“
  • /var/run/nagios/nagios.pid β€” lock file of the running Nagios daemon πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Nagios is written and maintained by Ethan Galstad <nagios@nagios.org> πŸ’–

This manual page was written by Lars Vogdt for the openSUSE operating system (but it may be freely used, modified, and redistributed by others) β€” generous icon behavior fr fr 🌸


ngl bestie, always do a -d dry run first. it's right there. use it πŸ™ˆ

mwah πŸ’‹ β€” page by Lars Vogdt, dated 1 March 2014, living in the upgrade_nagios(8) slot of the Nagios manual. slay and goodbye πŸ¦‹βœ¨

πŸ“¦ where this page comes from