Opsview Knowledge Center

Host Groups

A Brief Overview of Host Groups in Opsview Monitor

Overview

Within Opsview Monitor, Host Groups are configured using the 'Host and Host Group Organizer' located on the first page of the Settings menu tab:

The 'Host and Host Group organizer' is a section dedicated to allowing you to quickly create and order Host Groups and Hosts.

On the first load of the 'Host and Host Group organizer' you are presented with a single Host Group and Host as per the earlier Overview section.

In the screen above you will notice that the 'root node' of the tree is called 'Opsview'. This is determined automatically on installation; however, you are free to rename this. It is not visible within the 'Monitoring' views, however, it can be used within Notifications, access controls and more (as outlined earlier).

The Host and Host Group organizer enables many actions, namely:

  1. Renaming a Host Group
  2. Adding a new Host Group
  3. Deleting a Host Group
  4. Viewing/adding notes to a Host Group
  5. Moving of a Host Group from one Host Group to another

Renaming a Host Group

To rename a Host Group simply click on the contextual menu and click on the 'Rename' icon. A modal window will appear asking for the new name, at which point you can choose to modify the text and click 'Submit' or click 'Cancel' to exit back to the previous window.

Click on the contextual menu and click 'Rename'

Rename the Host Group and click 'Submit'.

Changes made and the 'pending' label are now visible.

Once a change has been made in the Host Group organizer, the 'pending' label will appear next to the modified items. The label indicates that while the changes have been made they are not yet 'applied'. To apply changes simply click on the 'Reload' button which resides alongside 'Expand all' and 'Collapse all'. There is a separate section of the User Guide on the reload process and why it is required.

Adding a new Host Group

To add a new Host Group simply click on the contextual menu of the Host Group to which you wish to add the new Host Group. For example, If you wanted to add a new Host Group to 'Opsview Servers' you would click on the contextual menu against 'Opsview Servers' and select 'Add child'.

Note: As mentioned earlier, a Host Group can only contain Hosts OR Host Groups. If you attempt to add a Host Group to a Host Group already containing Hosts Opsview will display an error similar to below:

With the scenario outlined in 3.1, we have a single Host Group called 'Opsview Servers' which contains a Host; namely 'opsview'. To add a new Host Group called 'UK' to the 'Opsview Servers' Host Group you will first need to add the new Host Group at the same 'level' as the 'Opsview Servers', move the 'opsview' Host into the new Host Group, then move the new group into the 'Opsview Servers' group, as shown below:

Click on menu for 'Opsview' (root note) and click 'Add child'

Name the Host Group and click Submit.

Select the 'opsview' Host and click 'Move to..' in the top right area of the window.

Select the newly created 'UK' Host Group and Submit.

Note: You should see this message once the Host is successfully moved.

Click the contextual menu against the new 'UK' Host Group and select 'Move this Host Group to..'

Select the 'Opsview Servers' Host Group and click Submit.

Our new hierarchy is visible.

Note: You can move one or more Hosts between Host Groups by holding down the 'ALT' or 'SHIFT' key and selecting the Hosts.

Deleting a Host Group

To delete a Host Group click on the contextual menu of the Host Group you wish to delete and click on the 'Remove' icon.

Note: You cannot delete a Host Group while it contains one or more Hosts. To delete the Host Group, you must first move all of the Hosts to a different Host Group before attempting to delete.

In our example scenario, we have three Host Groups in a hierarchy with the Host 'opsview' in the leaf node (end of the hierarchy). To delete the 'UK' Host Group, we must first move the Host 'opsview' into a new Host Group. To do this, follow the steps covered in Section Host Groups.

Once the Host has been moved to a new Host Group, we will have a scenario similar to the below:

As the 'UK' Host Group is now empty, we can click on the menu and select 'Remove', as below:

Click the menu and click on 'Remove'.

Click 'OK' to confirm the delete action.

The new hierarchy

Viewing/Adding Notes to a Host Group

Notes can be viewed/added to a Host Group from within a variety of Opsview Monitor sections, one of which is the Host and Host Group Organizer.

Notes are a useful way to tell other administrators and Opsview Monitor Users about the Hosts within a Host Group. These notes can tell you who is responsible for the Hosts, what the subnet/VLAN information is, etc.

To add and view notes, click on the contextual menu against a Host Group and select 'Notes' as below. The notes can be formatted using the WYSIWYG editor within the browser which enables a true rich-text experience.

Click the contextual menu and then click on 'Notes'

The notes are visible and can be edited. After an edit click 'Submit' to save the updates.

Moving a Host Group

To move a Host Group, simply click on the contextual menu next to your to-be-moved Host Group and select 'Move this Host Group to'.

Note: As mentioned earlier, a Host Group can only contain Host OR Host Groups. If you attempt to move a Host Group to be within a Host Group that already contains Hosts, Opsview will display an error similar to the one below:

In the scenario where you want to move a Host Group to be a child of a Host Group already containing Hosts, i.e. the scenario below, you will need to follow the steps in Section 3.2.

In this example, if you wanted to move the 'Opsview Servers' Host Group to be a child of the 'UK' Host Group, i.e. 'Opsview > UK > Opsview Servers', then first you must move the 'opsview' Host to be inside the 'Opsview Servers' Host Group.

In the scenario below, we are moving the 'UK' Host Group and its Hosts to be a child of the 'Opsview Servers' Host Group, thus giving us a hierarchy of 'Opsview > Opsview Servers > UK > opsview'.

Click the contextual menu against the 'UK' Host Group and select 'Move this Host Group to..'

Select the 'Opsview Servers' Host Group and click Submit.

Our new hierarchy is now visible.

Moving One or More Hosts

The Host and Host Group organizer can be used to move one or more Hosts to a different Host Group. To move a Host, click on it in the right-hand panel, or if you wish to move more than one Host simply multi-select using the standard multi-select keys of 'ALT' or 'SHIFT'.

In the scenario below we are going to move the 'opsview' Host into the 'UK' Host Group.

Select the 'opsview' Host and click 'Move to..' in the top right.

Select the newly-created 'UK' Host Group and click on Submit.

Note: You should see this message once the Host is successfully moved.

Host Groups

A Brief Overview of Host Groups in Opsview Monitor