Setting up Nagios XI

Choose a dedicated host for that, and preferably a system for which packages are ready e.g. CentOS, Ubuntu or Debian. We here proceed with Ubuntu Server 20 LTS (focal).

Enable multiverse

vi /etc/apt/sources.list
apt update
apt install snmp-mibs-downloader

and proceed

wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./fullinstall

ready to go

https://x.x.x.x/nagiosxi/

nagiosadmin / PASSWORD-YOU-DEFINED

Start from scratch

get rid of all the packages installed by fullinstall and clean-up folders

cd /var/log/
less log/dpkg.log
sed -n '/snmp-mibs-downloader:all/,$p' dpkg.log | grep installed | awk '{print $5}'
sed -n '/snmp-mibs-downloader:all/,$p' dpkg.log | grep installed | awk '{print $5}' | \
    xargs dpkg --purge
rm -rf ...

get rid of nagios

find /usr/local/ | less
rm -rf /usr/local/

just make sure package system is in a good state and eventually re-install a few packages

apt-get -f install
apt reinstall base-files manpages man-db systemd ntp

Resources

Installing Nagios XI Manually on Linux https://assets.nagios.com/downloads/nagiosxi/docs/Installing-Nagios-XI-Manually-on-Linux.pdf


HOME | GUIDES | BENCHMARKS | html