Opsview Knowledge Center

Opsview AWS EC2 Image

Learn how to configure our Opsview Monitor in AWS EC2

Opsview Monitor is providing EC2 'cloud' images for Opsview Pro and Opsview Enterprise, with EBS storage running on Ubuntu 12.04 LTS. Images are currently available at the following datacenters: Tokyo, Singapore, Sydney, EU Ireland, Frankfurt, Sao Paulo, N. California (US-West), Oregon (US-West), N. Virginia (US-East).

To use Opsview Monitor's EC2 images, you will need to register for an Amazon AWS account (Pricing details are available on that link).

Important Information

We recommend you run your EC2 image within an Amazon Virtual Private Cloud. Our subscription framework ties your registration to the MAC address of your network card. If an EC2 image is stopped and then started again, the MAC address will change. This results in your subscription being disabled and another EID needing to be generated.

To ensure your subscription information is not affected, you should run Opsview Monitor within a VPC environment, assigning an Elastic Network Interface to your server.

You can find documentation for running an EC2 image in a VPC here: http://aws.amazon.com/documentation/vpc/

Starting Your EC2 Image

Once you have created your Amazon AWS account, you can launch the Opsview instance closest to your geo-location by going to the links at http://www.opsview.com/technology/downloads (registration required).

Here you will see the initial screen upon clicking a link above.

WARNING: A minimum instance size of 'm1.small' is required; using a smaller instance size will cause performance and start-up issues.

You can select a zone preference, if you wish; our recommendation is to leave this as 'no preference'. Select a VPC network as noted previously. All other settings can be left at the default value.

Add storage. General purpose (SSD) is recommended of at least 10GiB.

Add any tags you require. The Name tag will be used as the EC2 identifier.

Add security groups. SSH on port 22 will be required for remote terminal access, HTTP on port 80 will be required for access to the Opsview web interface.

Selecting launch will give you a key/pair menu. On this screen you will need to create an SSH key to login to the Opsview server with. Type the name of your key pair, and click 'Download Key Pair'.

Note: Please ensure you keep this key safe; it is required to SSH to your Opsview server.

You will now see your Opsview EC2 image loading.

Finally, to connect to your EC2 instance, select either the Public DNS URL or Public IP as seen in the screen below; copy and paste this into your web browser.

You should be presented with this screen. If your connection times-out, please wait a minute for the EC2 guest to load and double-check your firewall rules within the AWS console.

You will need to enter your software key in the text box, and enter Submit. This will then authenticate your subscription against the Opsview servers. Once successful, you will be able to begin using Opsview.

Passwords

To login to the main user interface, please use the username of admin and a password of initial
For SSH, there is no root passphrase. Please use sudo su - to switch to the root user. The MySQL password is set to empty string.

Logging in via SSH

If you wish to connect to your Opsview EC2 instance via SSH, you will need to save the private key detailed in the instructions above. If using a Unix terminal, you can connect using the command below:

ssh -i /path/to/private-key.pem [amazon hostname] -l ubuntu

If you are using Windows, you will first need to convert the key to a format that PuTTY/Pageant can use. To do this, you need to use a utility called PuTTYgen.
Load up PuTTYgen, click Conversions > Import Key

Select your saved EC2 .pem key.

Click Save Private Key, and ensure the file extension ends with .ppk
You can now load your converted private key into Pageant, using PuTTY to connect to your EC2 instance.

Note: Remember to login as the 'ubuntu' user.

Webmin

To access Webmin, you need to enable access to port 10000 and execute the following command (to set up root user password):

/usr/share/webmin/changepass.pl /etc/webmin root PASSWORD

Next, point your browser to [https://[amazon](https://[amazon) hostname]:10000/ and log in as root.

You will also need to amend the port access within the EC2 interface to expose port 10000

Opsview AWS EC2 Image

Learn how to configure our Opsview Monitor in AWS EC2