setManaged
Enable or disable monitoring for network devices, interfaces, or URLs by setting the manage parameter to true or false.
Instructions
setManaged
Category: Manage and query network devices
Key parameters:
manage*: Enables monitoring of devices or interfaces if manage=true,
name*: Name of the device or interface. (Managed Entity name as see
type: Set type as 'INTERFACE' if the managed entity is an interfac
isInterface: This parameter will take effect only when the value 'INTERFA
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| name | Yes | Name of the device or interface. (Managed Entity name as seen in the URL of device/interface snapshot page OR 'deviceName' property value in the listDevices API response) | |
| type | No | Set type as 'INTERFACE' if the managed entity is an interface. Set type as 'URL' if the managed entity is an Url monitor. | |
| apiKey | Yes | OpManager API key for authentication | |
| manage | Yes | Enables monitoring of devices or interfaces if manage=true, disables monitoring if manage=false | |
| isInterface | No | This parameter will take effect only when the value 'INTERFACE' is supplied to type param. Set the value for this param as 'true' if the managed entity is an interface. By default, the entity will be assumed as device, hence it is not required to pass this parameter for managing device. |