Host Templates - Exporting/Importing Opspacks

Lean about Host Templates export / import into Opsview Cloud

You may wish to easily exchange a Host Template with another Opsview Cloud 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
  1. Confirm by clicking 'Export'
  1. Your browser client will download the Host Template to your computer to the folder you have selected.

Importing an Opspack

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

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

🚧

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

This is disabled for security reasons within Opsview Cloud; any opspack or plugin updates should be passed to Opsview Support via a support incident for review

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
  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
An Example of the LoaderAn Example of the Loader

An Example of the Loader

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