Nagios monitoring

You’ll want to start by installing the necessary packages, and then configure your Nagios setup with the appropriate resources and hosts. If you need specific step-by-step guidance, let me know what version of Linux you’re using.
 
Agreed about Zabbix (even tho Zabbix is itself massive).

Other potentially simpler alternatives is Munin (tho alerting on it is poor) and Monit (with alerting being fairly primitive).

I built an entire platform of my just to _not_ run Nagios.
 
Agreed about Zabbix (even tho Zabbix is itself massive).

It may be 'massive', but it's very easy to work with. All I have to do is clone host X and change the IP / SSH macro. That's it. Everything is setup and ready to go for a new host
 
I so much want to change from our old nagios monitoring server to something newer. But just cannot seem to get myself to as I understand nagios so well and it "just works".

Maybe one day I will force myself to do it on a weekend.
 
I so much want to change from our old nagios monitoring server to something newer. But just cannot seem to get myself to as I understand nagios so well and it "just works".

Maybe one day I will force myself to do it on a weekend.
We use UptimeRobot for external monitoring and Observium for internal monitoring. I remember the days of cacti and we used it. I knew people who use nagios, but haven't given it a good try personally.
 
Hello!

Here's a list of commands to set up Nagios
  1. apt-get install wget unzip vim curl openssl build-essential libgd-dev libssl-dev libapache2-mod-php php-gd php apache2 -y
  2. wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.4.7.tar.gz
  3. tar -xvzf nagios-4.4.7.tar.gz
  4. cd nagios-4.4.7
  5. ./configure --with-httpd-conf=/etc/apache2/sites-enabled
  6. make all
  7. make install-groups-users
  8. usermod -a -G nagios www-data
  9. make install
  10. make install-daemoninit
  11. make install-commandmode
  12. make install-config
  13. make install-webconf
  14. a2enmod rewrite cgi
  15. systemctl restart apache2
  16. make install-exfoliation
  17. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
  18. wget https://github.com/nagios-plugins/n...oad/release-2.4.0/nagios-plugins-2.4.0.tar.gz
  19. tar -xvzf nagios-plugins-2.4.0.tar.gz
  20. cd nagios-plugins-2.4.0
  21. ./configure --with-nagios-user=nagios --with-nagios-group=nagios
  22. make
  23. make install
  24. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
  25. systemctl start nagios
  26. systemctl enable nagios
  27. systemctl status nagios



Ensure you check for the latest version of Nagios to keep it up-to-date!
 
Back
Top