Installing
-
6. Installing Nagios Core
Furthermore, to Compile and Install Nagios Core for Kali
Run the below Commands one by one:cd /tmp/nagios*
./configure --with-command-group=nagcmd
make all
sudo make install
sudo make install-init
sudo make install-config
sudo make install-commandmode
-
7. Installing Nagios Core Web UI
Follow to Install Nagios Core Web Interface
First, Make the needed directory:sudo mkdir -p /etc/httpd/conf.d/nagios.conf
And then Install it:
sudo make install-webconf
-
8. Configuring
After make the Post-Installation Configuration
sudo cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/
sudo chown -R nagios:nagcmd /usr/local/nagios/libexec/eventhandlers
-
9. Testing
Again to Test Nagios Installation
sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Contents