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

tar xzf xi-latest.tar.gz
cd nagiosxi

ready to go



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


Installing Nagios XI Manually on Linux