Back to Opsview FAQ

Import an Opspack

There are two ways to import Opspacks:

If you want to import multiple Opspacks at the same time, it is faster to do so using the command line.

Import an Opspack using the UI Copied

Prerequisites Copied

Process Copied

  1. Log in to the UI as an Administrator and navigate to Configuration > Host Templates.
  2. Click Import Opspack in the top left of the page.
  3. Click the Browse button and select the Opspack you want to import.
  4. Click Upload to upload the Opspack.
  5. Click Import to import the Opspack.

Troubleshooting Copied

Importing Opspacks has been disabled Copied

6 6 2 import opspack disabled error

If you see the error Importing Opspacks has been disabled. Please contact your System Administrator for assistance. you need to enable Opspack imports through the UI.

Validation error Copied

6 6 2 import opspack validation error

If you see the error You can only upload files ending in .opspack, .tar.gz or .tgz, make sure you uploaded the right Opspack file and that it has one of the required file extensions: .opspack, .tar.gz, or .tgz.

Import an Opspack using the command line Copied

Prerequisites Copied

Process Copied

  1. Transfer the Opspack to the orchestrator, e.g.
scp opspack.tar.gz orchestrator:/tmp/opspacks
  1. Log in to the orchestrator as root.
  2. Import the Opspack using the install_opspack script:
/opt/opsview/coreutils/bin/install_opspack -f </path/to/opspack>

Import multiple Opspacks Copied

If you are importing multiple Opspacks and they are all in the same directory, use the orchestratorimportopspacks script and a for loop like this:

for opspack in </tmp/opspacks/*.tar.gz>; do /opt/opsview/orchestrator/bin/orchestratorimportopspacks -f -o $opspack; done

Replace </tmp/opspacks/*.tar.gz> with the path to the Opspacks.

["Geneos"] ["Opsview > Integrations"] ["FAQ"]

Was this topic helpful?