Macklus.Net

Recent Posts


Recent Comments


Archives


Categories


Nagios 4 and NagiosGraph AWS AMI

macklusmacklus

For those who wish to use Nagios as a monitoring system, I have created an AMI optimized with Nagios 4 and NagiosGraph. This page shows both its features and its operation, configuration and use, so please read it carefully.

Features

Installation and configuration

Installation

The installation follows the normal process of creating an instance in EC2. The recommended instance size is t3.medium.

The security group usually includes the following permissions:

TypeProtocolPort rangeOrigin
SSHTCP220.0.0.0/0
Custom TCP ruleTCP161 – 1620.0.0.0/0
(*) HTTPSTCP4430.0.0.0/0
Custom TCP ruleTCP5666 – 56670.0.0.0/0
Custome TCP ruleTCP56930.0.0.0/0

The fields marked with (*) are essential, either to access the web interface, or for the normal operation of the server.

Once the instance has been raised, we can access using:

SSL configuration valid with Let’s Encrypt

In order to configure a valid certificate we must first change the host name of the EC2 instance to allow us to generate the certificate. AWS does not allow certificates to be generated for the default name of the instance, because names (and IPs are volatile).

Questions or problems?

If you are a user of any of my AMI’s and you have doubts about its use, costs, configuration or infrastructure, or you need to generate a personalized AMI, you can contact me at the following address:

macklus
Author