Host Templates - Exporting/Importing Opspacks

Lean about Host Templates export / import into Opsview Monitor

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

  1. Click on specific Host Template's contextual menu
  2. Select Export Opspack
10481048
  1. Confirm by clicking 'Export'
685685
  1. Your browser client will download the Host Template to your computer to the folder you have selected.

Importing an Opspack

❗️

Log4j vulnerabilities

Note - 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.
10511051

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

604604

🚧

"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
587587
  1. Select 'Upload'
    The loader will display either of the follow
    Import: A new Opspack file ready to be imported.
    Existing: An existing Opspack file ready to be overwritten.
    Error: An error has occurred during the upload process
584584

An Example of the Loader

  1. Select 'Import' or 'Overwrite'
    Opsview Monitor will prompt you when the Opspack has been successfully completed.