Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add and setup a device:

Omitted boolean paramters Boolean parameters are persumed presumed to be false, it's not allowed to setup wsm without setting up log targets
Omit the autoSetupAgentNameand autoSetupPattern parameters if you do not wish to use the automatic domain setup feature.

POST /op/api/v1/devices?name=wdp6&host=10.0.0.13&somaPort=5550&somaUser=admin&somaPasssomaPassword=password&logtargetAddresslogTargetAddress=10.0.0.13&monitorResources=false&monitorServices=true&syslogAgentName=MonTier-SyslogAgent-1&setupSyslogForDomains=true&wsmAgentName=MonTier-WsmAgent-1&setupWsmForDomains=true&setupCertificateMonitor=true&autoSetupPattern=APIMgmt*&autoSetupAgentName=MonTier-SyslogAgent-1
{
"resultCode": "SUCCESS",
"resultMessage": ""
}

...

Setup all devices' host aliases (For for DR)

For all devices - Disable disable all log targets, setup syslog and wsm host aliases and re-enable all log targets.
If the device cannot be reached - it will be skipped.
Errors or exceptions will not stop the operation.

...