Comments on: How To Install Nagios 4 and Monitor Your Servers on Ubuntu 20.04 https://www.rosehosting.com/blog/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-20-04/ Premium Linux Tutorials Since 2001 Tue, 20 Feb 2024 15:13:46 +0000 hourly 1 https://wordpress.org/?v=6.5.3 By: admin https://www.rosehosting.com/blog/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-20-04/#comment-49073 Tue, 20 Feb 2024 15:13:46 +0000 https://www.rosehosting.com/blog/?p=35542#comment-49073 In reply to Solbu.

The latest versions of Nagios may not always be available on the Ubuntu repository. Following this tutorial, you can install the latest version or choose a specific version that you want to install of Nagios. But, of course, you can install it using the official repository of Ubuntu, if you prefer.

]]>
By: Solbu https://www.rosehosting.com/blog/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-20-04/#comment-49072 Tue, 20 Feb 2024 11:47:03 +0000 https://www.rosehosting.com/blog/?p=35542#comment-49072 Why do you suggest people download and install manually from an upstream tarball, rather than using the existng nagios4 packages already included in the official Ubuntu repos?

Steps 2, 4 and first half of step 5 can be entirely replaced with an «apt install nagios4 nagios-plugins-contrib nagios-nrpe-plugin monitoring-plugins» command.
Then All «/usr/local/nagios/etc/» paths when editing can be replaced with «/etc/nagios4/».

The only thing needed from step 5 would be the configuring of the contact name and email address, and adding clients using the nrpe editing lines.

There is No need to download and manually configure all of the above steps listed, when they are mostly automated by installing the nagios packages from the official Ubuntu repositores.

]]>
By: admin https://www.rosehosting.com/blog/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-20-04/#comment-48692 Wed, 25 Aug 2021 06:13:50 +0000 https://www.rosehosting.com/blog/?p=35542#comment-48692 In reply to Peter.

Change the word “server-ip-address” to your actual server IP address.

]]>
By: Peter https://www.rosehosting.com/blog/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-20-04/#comment-48691 Tue, 24 Aug 2021 23:15:52 +0000 https://www.rosehosting.com/blog/?p=35542#comment-48691 Hi,

In what order or what line do you change your IP here? If you can provide example that would be great.

server_address=client-ip-address
allowed_hosts=127.0.0.1,::1,server-ip-address

Also, do you need to change your IP here?

nano /etc/nagios/nrpe_local.cfg

And here?

nano /usr/local/nagios/etc/servers/nagiosclient.cfg

Thanks,

Peter

]]>