Ubuntu 16.04: Install Nagios for web base system monitor tool

Table of Contents

1 Before installing Nagios

Install Postfix with this script.

2 Install Nagios

NAGIOS_PASSWD will be used for Basic authentication password of nagiosadmin user.

$ NAGIOS_PASSWD=nagios$ cat <<EOF | sudo debconf-set-selectionsnagios3-cgi nagios3/adminpassword-repeat password ${NAGIOS_PASSWD}nagios3-cgi nagios3/adminpassword password ${NAGIOS_PASSWD}nagios3-cgi nagios3/adminpassword-mismatch noteEOF$ sudo apt install -y nagios3

Nagios configuration to Apache2 is written in the following file. You can change Nagios configuration like Digest authentication.


3 Access to Nagios

Access to Nagios via the following URL.


Input nagiosadmin user and NAGIOS_PASSWD.


Nagios is displayed.


Android | Linux | SDL - Narrow Escape