Table of Contents

The Opsview Quick Start Guide

This document will introduce you to using Opsview.

Prerequisites

We assume your Opsview server is at http://opsviewserver

Login

Goto http://opsviewserver. This will bring up the login screen. The default user is:

Login Page

Screen Elements

There are 3 main areas: the main content, the side navigation and the status bar.

Screen Elements

Main Content

This will change dependening on the page being requested.

Side Navigation

The side navigation holds menu options which are expandable. Click on the name to expand out. Each link will take you to a different part of Opsview. The Search Host box provides a quick way of accessing a specific host in Opsview. Type here an o here and an autocomplete list will appear.

Under User → Preferences, you can change your password and other attributes based on your access role. If you click on the Version text, it will show you the build number for the version of Opsview installed.

Status Bar

The status bar holds three pieces of information:

Status Views

Hostgroup Hierarchy

The initial view is called Hostgroup Hierarchy. This displays a top level view of all your hosts and services, organised in a hierarchy based on host groups.

Hostgroup Hierarchy

This allows you to drill down and find any particular service that may have a problem.

You can click on the various headings or statuses to get a filtered view of the hosts and services.

There is the concept of Handled and Unhandled. Handled problems are ones that have been acknowledged or have scheduled downtime. This allows you to see problems that you know about versus problems that you don't.

Next to most objects is the popup menu button. This will popup and show extra options available.

Host Detail

When you drill down, you can see a summarised view at the host level.

Host Detail

Service Detail

You can also see a service detail view which shows you the results of the service checks.

Service Detail

Performance Graphs

You can click on the graph to get performance graphs for that particular service.

Viewport Summary

Viewports are a way of seeing a small set of services, for public access.

The viewport pages are available at http://opsviewserver/viewport. This gives you a summarised state of all the services in the detailed viewport.

Viewport Summary

You define viewports based on keywords for hosts and service checks.

Viewport Detail

Click on the viewport name to get a list of all the services associated in that viewport.

The URLs under http://opsviewserver/viewport do not require login access.

Alerts views

Under the Alerts menu section, you can filter the alerts based on various filters.

Mass Acknowledgements

You can click on the Mass Acknowledgements link to get to a special screen where you can acknowledge lots of hosts and services in one action.

Configuration

Listing Hosts

From the Configuration → Hosts link, you will get a list all the hosts in Opsview.

You can delete hosts (when possible) or clone hosts with the buttons on the left. Click on the name of the host to edit.

Add a New Host

Under Configuration → Hosts, there is an option to Create new Host in the main content area.

There are other tabs, such as Monitors and SNMP, but these tabs are not available until you enter the initial information.

Fill in the information about the host. If you hover over the field names, an underline will appear: clicking on them will take you to the contextual help in this documentation wiki.

Associating Service Checks to a Host

When you click Next, you can then enter the list of Monitors to associate with this host.

Just click the service checks that you want to associate to this host.

If you want to run checks that need access to the remote host, you will need to install an agent.

When you submit your changes, you will be returned to the host list page. The host that you have just changed will turn yellow and the Configuration Status light at the bottom will be yellow.

Configure Service Checks

The Configuration → Service Checks link will show you a list of all the service checks. These are displayed with headings based on their service group.

There are 4 different types of service checks you can create:

Add a Host Template

The Configuration → Host Templates link will show a list of all the host templates. A host template holds 2 sets of information:

Service check monitors

The service checks are used instead of defining the service checks manually on a host. You can layer on the host templates for a host instead, thus allowing you to make a single change in one host template that can effect lots of hosts at the same time.

Listing all services for a host

You can list all the services, and which template they came from, by clicking on a host and listing all the service checks.

Popup menu with number of service checks

This will then resolve all the host templates to give a list of services that would be defined for this host.

Resolving list of services for a host

Management URLs

The management URLs provide a way of creating a URL that can be accessed for the host.

For the opsview host, there is an SSH url, so clicking on this will tell your browser to run the ssh:// protocol. You need to configure your browser to take the correct action.

Popup menu for management URLs

Add a New Contact

Contacts act as users of Opsview and also define methods of receiving notifications.

The Configuration → Contact link will take you to the list of contacts for Opsview.

You can create a new contact and set their password. Administrators can change what hosts or services a contact is allowed to see or act upon based on the role and the access controls.

Contact Edit

Reloading Opsview

Changes made to Opsview are batched. To apply the changes, goto Server → Reload or you click on the Configuration Status light to get to the Reload page.

Opsview Reload Page

When you select Reload configuration, Opsview will recreate the Nagios configurations, synchronise with any distributed slaves, validate the configuration and tell Nagios to reload.

Congratulations! You're on your way to monitoring your systems!