Create Resource Monitors

Creates resource monitors.
If you export the monitor JSON from the Monitors page, the monitorScope will be by default 0, and if you want to create the same monitor using the API, update the fields as follows:

  • Partner user API login: Set monitorScope = 18 for partner scope.
  • Partner user login (client scope): Set monitorScope = 52 and add clientId (UUID).
  • Client user login: Set monitorScope = 52 for client scope.

Path Parameters

  • tenantIdstringrequired

    Describes the client unique identifier of the tenant

Request Body

application/json

  • namestring

  • scriptstring

  • monitorScopeinteger

  • clientIdstring

  • mspIdstring

  • serviceProviderIdstring

  • resourceMonAdditionalParamsarray

  • instanceTypestring

  • instanceIds

  • uuidstring

  • descstring

  • mulInstboolean

  • disc_freq_minstring

  • disc_metric

  • disc_typestring

  • disc_lookup_Oid

  • create_ts

  • update_ts

  • discoveryFilters

  • staticMetrics

  • dynamicMetricsarray

Loading Examples...

Responses

  • failedCountinteger

  • failedListobject

  • updatedCountinteger

  • createdCountinteger

Loading Examples...