×
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
- You have a valid Opspack file with the file extension
.opspack,.tar.gz, or.tgz. - You have enabled Opspack imports using the UI
Process Copied
- Log in to the UI as an Administrator and navigate to Configuration > Host Templates.
- Click Import Opspack in the top left of the page.
- Click the Browse button and select the Opspack you want to import.
- Click Upload to upload the Opspack.
- Click Import to import the Opspack.
Troubleshooting Copied
Importing Opspacks has been disabled Copied
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
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
- You have a valid Opspack file with the file extension
.opspack,.tar.gz, or.tgz.
Process Copied
- Transfer the Opspack to the orchestrator, e.g.
scp opspack.tar.gz orchestrator:/tmp/opspacks
- Log in to the orchestrator as
root. - Import the Opspack using the
install_opspackscript:
/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"]