Export and import Opspack

You may wish to easily exchange a Host Template with another Opsview Monitor instance of with the Opsview Community. This section will show you how to export an Opspack from the Host Templates page. For more details on Opspacks, see Opspacks.

Exporting a Host Template into an Opspack Copied

  1. Click on specific Host Template’s contextual menu.

  2. Select Export Opspack.

    Export Opspack option

  3. Confirm by clicking Export.

  4. Your browser client will download the Host Template to your computer to the folder you have selected.

Importing an Opspack Copied

Warning

Only import Opspacks containing plugins from trusted sources. Importing untrusted and unverified scripts could compromise your system’s integrity.

Warning

Log4j vulnerabilities

If importing custom Java-based plugins, we recommend ensuring that any version of Log4j used is >= 2.17.1, to mitigate vulnerabilities:

  1. Click the ‘Import Opspack’ button on the top left of the page.

Import Opspack option

At this point you may get an error if imports have not been enabled by your Opsview Administrator:

Import Opspack error

Note

Import Opspack functionality has been disabled by default on new installations.

You can still import Monitoring Plugins or Opspacks via the command line. Please contact your System Administrator for assistance.

To enable this feature, set the following variable in /opt/opsview/deploy/etc/user_vars.yml:

opsview_allow_plugin_upload: True

and then re-run the orchestrator-install.yml playbook. You can then carry on as follows:

  1. Click ‘Browse’.
  2. From your computer, select the file you wish to import.
  3. Select ‘Upload’.

The loader will display either of the follow:

Import Opspack Overwrite option

  1. Select ‘Import’ or ‘Overwrite’.

Opsview Monitor will prompt you when the Opspack has been successfully completed.

["Opsview"] ["User Guide"]

Was this topic helpful?