Format de fichier JSON
Le fichier JSON doit contenir un tableau d’objets de surveillance, soit directement, soit enveloppés dans une propriété de vérifications ou de surveillances .
Tableau direct
[
{
"name": "API Health Check",
"method": "GET",
"cmdb_ci": "sys_id_of_http_endpoint",
"interval": 5,
"locations": ["location_sys_id_1"],
"enabled": true,
"parent_service_sys_id": "service_sys_id",
"support_group_sys_id": "group_sys_id"
}
]
Enveloppé dans un objet
{
"checks": [
{
"name": "API Health Check",
"method": "GET",
"cmdb_ci": "sys_id_of_http_endpoint",
...
}
]
}