nagios core install | nagios core | nagios plugins | nagios ssh
NAGIOS XI NOT RECOMMENDED: THIS IS NOT FOSS
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). SystemD is required, it won’t work within an init less Docker instance.
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/ time ./fullinstall
ready to go
https://x.x.x.x/nagiosxi/ nagiosadmin / PASSWORD-YOU-DEFINED
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 https://assets.nagios.com/downloads/nagiosxi/docs/Installing-Nagios-XI-Manually-on-Linux.pdf