Back to Opsview FAQ

Error when importing opspacks containing passive checks

This issue only occurs using the UI method of importing opspacks, the command line method doesnt have this problem.

Problem Copied

Attempting to import a valid opspack containing config for a passive check the following error will be seen

2022 08 17 20 46 20 Opsview Configuration

Reason Copied

The is a known bug in the code that handles the importing of passive checks. This issue has an internal defect reference of OP-54314.

Work Around Copied

  1. Open the opspack file and locate file config.json.
  2. Edit the config.json file and under the passive check config within this file search for a section of the code that looks like this.
"oid" : null,
"plugin" : null,
"sensitive_arguments" : "1",
  3. Change this config to look like this. check\_tcp is just a dummy value to meet the needs of the                    import process.
 "oid" : null,
"plugin" : {"name": "check_tcp"},
"sensitive_arguments" : "1",
  4. Rebuild the opspack file including the modified code and import the opspack via the UI.
["Geneos"] ["Opsview > Integrations"] ["FAQ"]

Was this topic helpful?