Installing and Configuring Nagios on Debian 10 Buster

  • Basic understanding of Linux and the Bash shell
  • A Debian 10 Buster base install
  • A static I.P. address on your Debian host
  • You have sudo access or logged in as root

First thing first, let us make sure our install is up to date.

Shell

1) Prerequisites

Shell

2) Download and Compile Source

Shell

3) Create Your Nagios User and Nagios Group

Shell

4) Install

Shell

5) Configure Apache2

Shell

Now reload apache2

Shell

6) Create CGI User

Shell

7) Enable Start of Nagios Service on Boot and Start Nagios

Shell

8) Restart Apache2

Shell

If you navigate to your IP address and append /nagios into the URL you will see we have a working installation, but we are a long way from being done. Right now we are only monitoring our localhost and our setup has not been protected by any credentials. For this installation we will work from the I.P. address of 192.168.0.8 which is the one of this Nagios server.

http://192.168.0.8/nagios

You will be prompted for credentials which will be nagiosadmin and your set password.

Nagios Home Screen

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *