---
title: "How to create a management pack"
description: "Management packs group services linked to a hostgroup and allow adding custom variables for consistent monitoring. They are created by selecting a hostgroup, naming the pack, adding an icon and description, then saving and optionally activating or importing them."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020252173-op5-monitor-how-to-create-a-management-pack/index.html"
---
## Introduction

A management pack is essentially a group of services connected to a *hostgroup* that allow the possibility of adding custom variables. These management packs can be used by the Host Wizard.

The benefit of using management packs is that the monitoring across systems will be more homogeneous. The short article can be supplemented by the more complete [OP5 documentation.](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/admin-manual/configuring/managing-objects.html#Management_packs)

![OP5 Monitor - How to create a management pack](https://docscdn.itrsgroup.com/faq/images/op5/360020252173-4653645-image2013-11-5-13-33-12.png)

The picture above shows how management packs integrate into OP5 monitor.

## Creating Management Packs

To create a management pack, a hostgroup must first exist and the services that need to be included in the management pack should be added to that hostgroup. After the hostgroup with services has been created the hostgroup can be converted into a management pack.

To create a new management pack select *Management Packs* in the main configuration page.

From there, you should use the following steps.

1. Enter a name for the management pack.
2. Select which hostgroup that should be used for the management pack.
3. Select an appropriate icon (a larger icon looks better in the host wizard).
4. Enter a description.
5. Click the submit button to save the management pack.

It is also possible to add custom variables, these can be used for information that needs to be entered when using the host wizard. Such as fields for authentication credentials (username, password, SNMP details).

![OP5 Monitor - How to create a management pack](https://docscdn.itrsgroup.com/faq/images/op5/360020252173-4653645-image2013-11-5-13-35-19.png)

In this above example we create a management pack for HP Servers with one custom variable for SNMP community name.

## Group in Group with Management Packs

It is possible to use the group in group with management packs. This works in the same way as it does for normal hostgroups.

#### An Abstract Example

The hostgroup fruits includes the hostgroup 'apples'.

If a management pack is associated with 'fruits' will the host be added to the hostgroup 'fruits' and it will get all the services that are on the hostgroup 'fruits', but it will not be affected by the 'apples' hostgroup.

If a management pack is associated with apples the host will be added to the hostgroup apples and get all the services that are in the hostgroup 'apples' AND all the services that are in the hostgroup 'fruits'.

A More Specific Example

A hostgroup 'linux' is created with the check 'check\_ssh\_cpu'
A hostgroup 'generic' is created with the check 'check\_ping'

Management pack 'generic server' is associated with the hostgroup 'generic'. Hosts that are added with the management pack 'generic server' will get the 'check\_ping' service.

Mangement pack 'linux servers' is associated with the hostgroup 'linux'. Hosts added with the 'linux servers' will get both the 'check\_ssh\_cpu' and the 'check\_ping' checks.

## Activate Management Packs

Management packs that are not created by the user, provided by OP5 or a third party, need to be activated.

To activate a management pack, click *Management Pack Management* at the right-hand side of the Management Pack configuration page.

Click *Activate* to activate a management pack.

![OP5 Monitor - How to create a management pack](https://docscdn.itrsgroup.com/faq/images/op5/360020252173-4653645-image2013-11-5-13-38-8.png)

*Force Activate* will override any management pack with the same name.

## Import Management Packs

A management pack can be imported in a JSON file format via *Management Pack Management*.

Click Choose File to select the JSON formatted management pack to import.

![OP5 Monitor - How to create a management pack](https://docscdn.itrsgroup.com/faq/images/op5/360020252173-4653645-image2013-11-5-13-39-8.png)

Click the *Upload json file* button when the file has been selected.

## Export Management Packs

It is possible to share your management pack or upload it to another OP5 Monitor via the *Management Pack Management* page.

Under the Export section will be a list of available management packs. Click *Export* for the specific management pack. This will create a suitable JSON definition file. The file will be downloaded to your local computer.

![OP5 Monitor - How to create a management pack](https://docscdn.itrsgroup.com/faq/images/op5/360020252173-4653645-image2013-11-5-13-41-7.png)


