Create
Creates a Monitoring Template and maps it to its Custom Groups. Its Plugin configuration is pushed automatically, in the background, to every current and future member of its mapped Custom Groups.
The Monitoring Template to create
Show optional properties
{
"name": "string",
"services": [
{
"configurations": [
{
"configName": "string",
"parameters": [
{}
]
}
],
"serviceName": "string"
}
]
}
"{\n \"name\" : \"OS Process Monitoring Template\",\n \"description\" : \"Monitors common OS-level processes across the mapped custom groups\",\n \"customGroups\" : [ \"6d4c1e2a-6a2a-4f3b-9e8a-6a2a4f3b9e8a\" ],\n \"services\" : [ {\n \"serviceName\" : \"processavailability\",\n \"configurations\" : [ {\n \"configName\" : \"NGINX Process Check\",\n \"isActivated\" : true,\n \"parameters\" : [ {\n \"key\" : \"FILTER_VALUE\",\n \"value\" : \"nginx\"\n }, {\n \"key\" : \"FILTER_TYPE\",\n \"value\" : \"exec\"\n } ]\n } ]\n } ]\n}"
Identifiers of the Custom Groups this template is mapped to
The description of the monitoring template
Identifier of the monitoring template
The name of the monitoring template - alphanumeric characters and underscores only
The Plugin configuration carried by this template
The created Monitoring Template, now carrying its server-generated id.
{
"customGroups": [
"string"
],
"description": "string",
"id": "string",
"name": "string",
"services": [
{
"configurations": [
{
"configName": "string",
"isActivated": false,
"parameters": [
{
"key": "string",
"value": "string"
}
]
}
],
"serviceName": "string"
}
]
}
Identifiers of the Custom Groups this template is mapped to
The description of the monitoring template
Identifier of the monitoring template
The name of the monitoring template - alphanumeric characters and underscores only
The Plugin configuration carried by this template
The Monitoring Template failed validation (e.g. a duplicate Plugin configuration, an unknown customGroup id, or a disallowed parameter character)
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name":"string","services":["object"]}' https://{api_host}/suite-api/api/applications/templates