Opsview Knowledge Center

Microsoft Hyper-V Virtual Appliance

Learn how to configure our Hyper-V VM for Opsview Monitor

In this section, we describe how to prepare the Opsview Hyper-V Virtual Machine (VM) for an Opsview Monitor installation. The Opsview Hyper-V VM provides a demonstration package to allow easy evaluation of the Opsview Monitor software. A Opsview Monitor subscription can be used in a production environment; the image can be downloaded from the Opsview Monitor website.

Importing the Virtual Appliance

This section assumes you are importing the Opsview Enterprise virtual appliance.

Open up the Hyper-V environment to which you wish to deploy the virtual appliance.
Create a new Virtual Machine by selecting "Action > New > Virtual Machine.." as shown below:

Enter a name for the virtual machine and then select \x{00E2} ** \x{0080} ** \x{009A} "Next".

Enter the amount of Memory to assign to your virtual machine in Megabytes, 3.5GB (3584MB) or above is recommended; above 2GB is required.

Select a network interface for the virtual machine; this will require an IP address that will allow you to access the Opsview Monitor web interface.

Select "Use an existing virtual hard disk" and then browse to the extracted Opsview Monitor virtual appliance Virtual Hard Disk file.

Finally, select "Finish" to complete the Wizard.

You can now start the virtual machine by selecting the button shown below. Once the system has booted, which will take a few minutes, it will be accessible via the web interface.

To determine the IP address of your new virtual machine, your will need to initially log in to the command line with the username (conf) and password (conf). Once logged in, enter the command, as shown below:

ifconfig

You will be shown details about your network connection (eth1), which will include the IP address that has been assigned. Use this IP address to access Opsview Monitor via your web browser. The first time you access your Opsview Monitor system you will be prompted to provide your Software Key, as shown below:

Enabling Updates

You will need to enable the Opsview Monitor repository to receive updates and install additional modules by providing your Repository Key.

All Opsview Monitor software that is downloaded from our package repository, whether it's a trial or purchased subscription, requires a Repository Key, which is a 40-character alphanumeric string, e.g.

5bbd5667b498d81af9c2311d871858b26fe0024b

The key is unique to your organization. Additionally, the Repository Key differs from your Software Key and should have been emailed separately to your designated subscription contact.

To enter your Repository Key, you will need to edit the Opsview Monitor repository entry with the command shown below:

sudo nano /etc/apt/sources.list.d/opsview.list

Once loaded, you will see a line like the below:

#deb https://downloads.opsview.com/k/<REPOSITORY_KEY>/opsview-commercial/latest/apt trusty main

Now, replace in the line <REPOSITORY_KEY> with your key and remove the hash (#) at the beginning of the line. Once updated, exit nano using [CTRL]+[X] and when prompted select 'y' to save your changes. Finally, run the command 'apt-get update' to check the repository for updates.

FAQs

In this section, we answer several frequently asked questions.

What are the login details for the command line?

Use 'conf' for both the username and password and then switch to root using the command, as shown in the example below. The MySQL root password is "root".
sudo su -

I am running Opsview Monitor in a 'dark environment' (without network access) - how can I activate the software?

See how to Manually Activate Opsview Monitor.

How can I have a fixed IP address for the virtual machine?

A tool is available called 'netconf,' which will prompt you to log in. As such, log in as the ''conf'' user and run the command, as shown in the example below, where you will be requested to set up your network, as shown:

netconf
Enter IP address (xxx.xxx.xxx.xxx): 192.168.0.100 
Enter subnet mask (255.255.255.0): 255.255.255.0 
Enter default gateway: 192.168.0.254 
Enter DNS servers (space separated): 192.168.0.1 192.168.0.2 
Mail relay host: mail.example.com 
Use these settings (y/n) ? y

Confirm your setup ('y') and the configuration changes will be applied - you will then be prompted with the message, as shown in the example below. You should be able to connect to the Opsview server using the IP address you specified in the example earlier. We recommend that you reboot your system to test that the changes you have made are persistent.

Network setup complete

Microsoft Hyper-V Virtual Appliance

Learn how to configure our Hyper-V VM for Opsview Monitor