Nagios 4

This section describes the installation of Nagios 4 Core from standard Debian packages

To understand available packages see: (or similar search)

As there are dependencies to apache, exim, php and samba this will also install 130MB of dependencies. This make it difficult to install nagios with nginx.

Depending on your samba strategy answer 'yes' or 'no' (if you have any)

After this also the apache2 web server should be started. Test it with http://localhost. However this installation has some issue which can be seen in the terminal of installation when the installation script tries to restart apache2.

Restarting would not fix the issue (of course).

The error can be seen with apache2 commands

The command is unknown to apache2 because modules have not been enabled.

It is good practice to test the configuration again

And again one module is missing

And again test the configuration

Start/ restart the web server

Unfortunately the installation gives not hint where too look for Nagios. Looking in the configuration reveals it is http://localhost/nagios4/.

WARNING: Be aware that this installation installs Nagios without any password. So this site is visible to the network. It also installs this on port 80, so no transport encryption of any kind.

Pros And Cons

Pros

Cons

* Easy installation

* 2 Apache modules not activated

* Fast installation

* No password for Nagios access

* Automatic configuration for localhost

* No Nagios site encryption

* No information about landing page

* Dependency to Apache (not Nginx)

* Dependency to Samba

Unknown issues: Would installation work with postfix as MTA?