Поделиться через


Monitoring - Add Dashboard

Запрос на сохранение панели мониторинга в представлении мониторинга.

POST http://<Servername>/OperationsManager/monitoring/dashboard

Текст запроса

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Имя Обязательно Тип Описание
name True

string

Имя компонента

componentType

string

Тип компонента

config

string

Конфигурация компонента

description

string

Описание компонента

mpDescription

string

Описание mp

mpId

string

Идентификатор mp

mpName

string

Имя mp

mpVersion

string

Версия пакета управления

path

string

Путь

Ответы

Имя Тип Описание
200 OK

ComponentResponse

Хорошо. Панель мониторинга успешно сохранена

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Примеры

Monitoring_AddDashboard

Sample Request

POST http://<Servername>/OperationsManager/monitoring/dashboard

{
  "mpId": "dcfdedc4-68bd-42b4-1e9a-ba94b1577732",
  "mpName": "Notifications Internal Library",
  "path": "Monitoring",
  "name": "Notification Dashsboard",
  "description": "test",
  "config": null,
  "componentType": null
}

Sample Response

{
  "id": "7c7cd385-30f5-312f-9123-31c2f22f6edf",
  "name": "Notification Dashsboard",
  "description": "test",
  "mpId": "dcfdedc4-68bd-42b4-1e9a-ba94b1577732",
  "componentType": null,
  "config": null
}

Определения

Имя Описание
ComponentResponse
MonitoringComponentRequest

ComponentResponse

Имя Тип Описание
componentType

string

Тип компонента

config

string

настройка

description

string

Описание компонента

id

string

ID

mpId

string

Идентификатор пакета компонентов

name

string

Название компонента

MonitoringComponentRequest

Имя Тип Описание
componentType

string

Тип компонента

config

string

Конфигурация компонента

description

string

Описание компонента

mpDescription

string

Описание mp

mpId

string

Идентификатор mp

mpName

string

Имя mp

mpVersion

string

Версия пакета управления

name

string

Имя компонента

path

string

Путь