Upgrade Nagios

From CSLabsWiki

Jump to: navigation, search


This How To covers the process of upgrading Nagios 3.* to the latest 3.* version. You may want to backup the /usr/local/nagios/ directory prior to upgrading.

Preparation

Download the Latest Version

  • Create a downloads folder
mkdir /root/downloads
cd /root/downloads/
  • Download Nagios
wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.x.tar.gz
  • Extract Nagios
tar xzf nagios-3.x.tar.gz
cd nagios-3.x

Installation

  • Upgrade Nagios
./configure --with-command-group=nagcmd
make all
make install
  • Verify Configuration and Restart
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

The new version of Nagios should now be installed.

Personal tools