Monitoring - Add Dashboard
Richiedere di salvare il dashboard nella visualizzazione di monitoraggio.
POST http://<Servername>/OperationsManager/monitoring/dashboard
Corpo della richiesta
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Nome | Necessario | Tipo | Descrizione |
---|---|---|---|
name | True |
string |
Nome del componente |
componentType |
string |
Tipo di componente |
|
config |
string |
Configurazione componente |
|
description |
string |
Descrizione del componente |
|
mpDescription |
string |
Descrizione MP |
|
mpId |
string |
Mp ID |
|
mpName |
string |
Nome MP |
|
mpVersion |
string |
Versione MP |
|
path |
string |
Percorso |
Risposte
Nome | Tipo | Descrizione |
---|---|---|
200 OK |
Ok. Dashboard salvato correttamente Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Esempio
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
}
Definizioni
Nome | Descrizione |
---|---|
Component |
|
Monitoring |
ComponentResponse
Nome | Tipo | Descrizione |
---|---|---|
componentType |
string |
Tipo di componente |
config |
string |
configurazione |
description |
string |
Descrizione componente |
id |
string |
ID |
mpId |
string |
ID MP componente |
name |
string |
Nome componente |
MonitoringComponentRequest
Nome | Tipo | Descrizione |
---|---|---|
componentType |
string |
Tipo di componente |
config |
string |
Configurazione componente |
description |
string |
Descrizione del componente |
mpDescription |
string |
Descrizione MP |
mpId |
string |
Mp ID |
mpName |
string |
Nome MP |
mpVersion |
string |
Versione MP |
name |
string |
Nome del componente |
path |
string |
Percorso |