Discovery

addDevice

Allows you to add individual devices to OpManager for monitoring.

HTTP Method

POST

API URL

https://localhost:8060/api/json/discovery/addDevice?apiKey=***************&deviceName=opmserver.mydomain.com

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
deviceNameName of the device to addString-Yes
netmasksubnet mask of the device networkStringAllowed characters: 0–255 for each octet, dot(.) as separatorNo
networkAddressnetwork address for discoveryStringAllowed characters: A–Z, a–z, all Unicode letters, 0–9, space( ), dot(.), exclamation(!), colon(:), at(@), hash(#), dollar($), greater than(>), equal(=), less than(<), ampersand(&), plus(+), asterisk(*), hyphen(-), backslash(\), slash(/), single quote('), comma(,), underscore(_), parenthesis(())No
credentialNamecredential profile to use for discovery (SNMP, WMI, etc.)String-No
addDeviceToNCMadds the device to Network Configuration ManagerBoolean-No
addDeviceToIPAMadds the device to IP Address ManagerBoolean-No
addTypeType of additionStringAllowed values: addVMwareVC, addVMwareESX, addXen, addHyperv, addNutanix, addVxRail, addProxmox (case-insensitive)No
addDeviceTypespecifies device categoryStringAllowed values: UCSNo
isOpUSPMflag for OpUtils/Storage Performance Monitor integrationBoolean-No
displayNameDisplay Name of the deviceString-No
typedevice typeStringAllowed characters: A–Z, a–z, all Unicode letters, 0–9, space( ), comma(,), dot(.), hyphen(-), underscore(_), parenthesis(()), slash(/), plus(+), exclamation(!), at(@), hash(#), dollar($), square brackets([ ]), caret(^), colon(:), semicolon(;), equals(=), ampersand(&), single quote(')No
isNonSNMPindicates if SNMP discovery is usedBoolean-No
DEVICE_BEHAVIOURdefines monitoring behavior or role of deviceString-No
SERIESdevice series lineString-No
MODELspecific model name of the deviceString-No
COLUMNNAME1optional custom attributesString-No
COLUMNNAME2optional custom attributesString-No
newgroupnamename of new device group to createString-No
addGroupNameIDID of existing group to add the device toString-No
snmpPingSweepEnableenables SNMP ping during discoveryInteger-No
sysDetailsincludes system details in device dataInteger-No
arpDetailsincludes ARP table details during additionInteger-No
parentIDID of parent deviceLong-No
pollerIDPoller ID handling the deviceLong-No
vxrailCredentialNamecredential for VxRail device discoveryStringAllowed characters: A–Z, a–z, all Unicode letters, 0–9, hyphen(-), dot(.), underscore(_), plus(+), at(@), dollar($), space( )No
vxrailDeviceNamename of the VxRail deviceString-No
availabilityNodespecifies the node used to track the device’s availability statusBoolean-No
autoVmDiscoveryenables automatic discovery of VMs on the deviceBoolean-No

Sample Response

HTTP Code: 200

{ "result":{ "deviceIp": "10.10.10.1", "message": "Device added successfully", "deviceName": "10.10.10.1", "moid": 3125}}
Rate limit: 10 requests per minute. Exceeding this limit will block requests for NO_TIME_LIMIT minute

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.