Data - Retrieve Monitor Information
Lekéri a megadott figyelőazonosító figyelőadatait.
GET http://<Servername>/OperationsManager/data/monitorInformation/{monitorId}
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
monitor
|
path | True |
string |
A lekérni kívánt monitor azonosítója. |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
OKÉ. Sikeresen lekérte a figyelő adatait. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Példák
RetrieveMonitorInformation
Mintakérelem
GET http://<Servername>/OperationsManager/data/monitorInformation/93328865-eafd-abee-2002-9ac35dfe0bf6
Mintaválasz
{
"tableColumns": [
{
"field": "name",
"header": "Name",
"type": null,
"hidden": false
},
{
"field": "value",
"header": "Value",
"type": null,
"hidden": false
}
],
"rows": [
{
"name": "Display Name",
"value": "{\"text\":\"Security\",\"drilldowntype\":\"monitor\",\"id\":\"93328865-eafd-abee-2002-9ac35dfe0bf6\"}"
},
{
"name": "Description",
"value": "Roll up monitor that aggregates entity security health."
},
{
"name": "Comment",
"value": null
},
{
"name": "Enabled",
"value": "true"
},
{
"name": "Identifier",
"value": "1|System.Health.Library/9396306c2be7fcc4|1.0.0.0|System.Health.SecurityState||"
},
{
"name": "Target",
"value": "{\"text\":\"Object\",\"drilldowntype\":\"class\",\"id\":\"ac5cddfc-a96a-ee99-745d-ec74845f53f6\"}"
},
{
"name": "Type",
"value": "AggregateMonitor"
},
{
"name": "Priority",
"value": "Normal"
},
{
"name": "State",
"value": "Unchanged"
}
]
}
Definíciók
| Name | Description |
|---|---|
|
Table |
|
|
Table |
TableColumn
| Name | Típus | Description |
|---|---|---|
| field |
string |
Az oszlop neve |
| header |
string |
Az oszlop fejléce |
| hidden |
boolean |
Rejtett oszlop |
| type |
string |
Az oszlop típusa |
TableDataResponse
| Name | Típus | Description |
|---|---|---|
| rows |
object[] |
Táblázat adatsorai |
| tableColumns |
Adatok táblázatoszlopai |