---
title: "Error when importing opspacks containing passive checks"
description: "Importing opspacks with passive checks via the Opsview UI causes an error due to a known bug. The workaround involves editing the config.json file to include a dummy check value before importing the opspack through the UI."
url: "https://docs.itrsgroup.com/docs/faq/opsview/6363292171805-opsview-error-when-importing-opspacks-containing-passive-checks/index.html"
---
This issue only occurs using the UI method of importing opspacks, the command line method doesnt have this problem.

## Problem

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](https://docscdn.itrsgroup.com/faq/images/opsview/6363292171805-inline-1-2022-08-17_20_46_20-Opsview___Configuration.jpg)

### Reason

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

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.


