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.
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.
- Enter a name for the management pack.
- Select which hostgroup that should be used for the management pack.
- Select an appropriate icon (a larger icon looks better in the host wizard).
- Enter a description.
- Click on 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).
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 on Management Pack Management at the right-hand side of the Management Pack configuration page.
Click on Activate to activate a management pack.
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 on Choose File to select the JSON formatted management pack to import.
Click on 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 on Export for the specific management pack. This will create a suitable JSON definition file. The file will be downloaded to your local computer.
-
Tags:
- OP5 Monitor
- exported_docs_10_05_24
Comments
0 comments
Please sign in to leave a comment.