INITFILE=$(grep ^INIT_DIR= Makefile | sed 's/.*=//' | sed 's/.*/&\/nagios/') & grep ^NagiosRunFile $INITFILE The value of your new lock file with the following command: If you don't know where your initialization script lives, you can find out To point to the new one in use by the initialization file. For yourĬonfiguration file, you'll need to update the lock_file directive To update your init file - depending on if you've made any customizations. You should be able to simply run make install-init If you are upgrading from version 4.3.3 or before, to version 4.3.4 or after, there areĬhanges that need to made to the initialization script, and to your Update it manually, copying the new parts from 'sample-config/nf' or run If you are upgrading from version 4.2.4 or before, to version 4.3.0 or after, there areĬhanges that need to be made to the 'nf' apache configuration file. Debian/Ubuntu users should use /etc/init.d/nagios restart. usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Correct any errors shown here before proceeding with the next step. Your existing configuration files will not be overwritten by this step. Install updated binaries, documentation, and web web interface. Run the Nagios Core configure script, passing the name of the group used to control external command file permissions like so: Rm /usr/local/nagios/share/.htmlĭownload the source code tarball of the latest version of Nagios Core (visit for the link to the latest version).Įxtract the Nagios Core source code tarball. They have been replaced by PHP equivalents. Removed the following old HTML files that were used by the web frontend. Debian/Ubuntu users should use sudo -s nagios. If anything goes wrong or doesn't work, this will allow you to rollback to your old version.īecome the nagios user. Make sure you have a good backup of your existing Nagios Core installation and configuration files. Here's the process for upgrading Nagios Core 4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |