0% found this document useful (0 votes)
13 views5 pages

Using Nagios XI in Amazon EC2 Cloud

Aws

Uploaded by

Sachin Waghmare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Using Nagios XI in Amazon EC2 Cloud

Aws

Uploaded by

Sachin Waghmare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

The Industry Standard In Infrastructure Monitoring

Nagios XI How To Create A Nagios XI Instance In The Amazon EC2 Cloud

Purpose
This document describes how to launch a new pre-installed Nagios XI server in the Amazon
EC2 cloud in order to quickly run a trial of Nagios XI without using physical hardware, migrate
existing physical installations to a cloud infrastructure, and/or scale an existing XI monitoring
environment.

Target Audience
This document is intended for use by Nagios XI Administrators who would like to bring up new Nagios XI
instances in the Amazon Elastic Compute Cloud (EC2).

Prerequisites
Before you begin, this document assumes the user has an Amazon AWS account. If not, one can be
obtained at http://aws.amazon.com. The end user is responsible for all billing that results from using the
Amazon Web Services.

Creating The Virtual Machine


To be sure you are getting the Official Nagios XI public Amazon Machine Image (AMIs), it is recommended
that you login to the AWS (Amazon Web Service) management console at
https://console.aws.amazon.com/ec2/home?region=us-east-1#s=Images.

1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 1 / 5
Updated – March, 2023
The Industry Standard In Infrastructure Monitoring

Nagios XI How To Create A Nagios XI Instance In The Amazon EC2 Cloud

Images are currently available in the following zones:


• US East (N. Virginia & Ohio), US West (N. California & Oregon)
• Canada (Central)
• EU (Frankfurt, Ireland, London)
• Asia Pacific (Mumbai, Seoul, Singapore, Sydney, Tokyo)
• S. America (Sao Paulo)

Making sure you are using the appropriate region and have the filter set to: Public Images.

In the search bar enter: 766915741798. This is the Nagios Tech Team official ID. From here you can select
the image that meets your needs and click Launch.

Next, the Request Instance Wizard will begin. Within the wizard you will be able to select your instance type
and customize the allocated resource settings and naming information. For Nagios XI, the minimum
specifications we recommend are 1 core and 2GB RAM.

The wizard will have you choose, or create a key pair. If


you are creating a key pair for the first time, you will be
asked to download the key before continuing. The private
key will be required to SSH into your machine.

Note: root password login is disabled.

1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 2 / 5
Updated – March, 2023
The Industry Standard In Infrastructure Monitoring

Nagios XI How To Create A Nagios XI Instance In The Amazon EC2 Cloud

Additionally you will be asked to select or configure


a Security Group. The Security Group should allow
public access on port 22 and port 80, this may be
fine for some installations, however keep in mind
that you will also require the use of additional ports
that you will be sending your network flow data to.

Note: When you first start your instance, the latest


version of Nagios XI is installed and compiled at
boot. This will take at least 15 minutes before the
instance will become available. The amount of time
will depend on the instance size you create.

Connecting To Nagios XI
Once the instance is running, you can
complete the installation of Nagios XI through
the web interface. To access Network XI, type
in the following URL:

http://<ipaddress>/nagiosxi

(where <ipaddress> is the IP address of the


virtual machine)

Note: You can find the Public DNS address by selecting the instance and viewing the details.

1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 3 / 5
Updated – March, 2023
The Industry Standard In Infrastructure Monitoring

Nagios XI How To Create A Nagios XI Instance In The Amazon EC2 Cloud

Once you access the login screen, you can log in as the Admin to begin using Nagios XI. The credentials are
listed below.

XI Admin Account:
Username: nagiosadmin
Password: random (this gets initialized during setup)

MySQL Account:
Username: root
Password: nagiosxi

You may also need to occasionally make an SSH connection to your machine. This connection must use
the private key you downloaded earlier. When connecting you must use the username ec2-user, NOT
root, this user has full sudo access.

ssh -i .ssh/mykey.pem ec2-user@[AWS_public_DNS]

Notes About System Credentials And Security


You are strongly advised to change these initial passwords immediately as they are not secure and are
shipped as the default passwords as other Nagios XI virtual machines. If you forget these passwords, we
can't help recover them, so keep track of the new credentials you choose. Please refer to the following
documentation:
https://assets.nagios.com/downloads/nagiosxi/docs/Changing-Default-Passwords-in-Nagios-XI.pdf

If you are having trouble with the configuration, make sure that your security group in Amazon EC2 includes
information regarding Email. Outbound email may not work if the AMI doesn't have a valid DNS name, or your
firewall rules don't allow outbound SMTP except through a proxy.

1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 4 / 5
Updated – March, 2023
The Industry Standard In Infrastructure Monitoring

Nagios XI How To Create A Nagios XI Instance In The Amazon EC2 Cloud

Finishing Up
This completes the documentation on how to Create A Nagios XI Instance In The Amazon EC2 Cloud
Environment.
If you have additional questions or other support related questions, please visit us at our Nagios Support
Forums:

https://support.nagios.com/forum

The Nagios Support Knowledgebase is also a great support resource:

https://support.nagios.com/kb

1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 5 / 5
Updated – March, 2023

You might also like