Update
Updates a Monitoring Template's Custom Group mappings and/or Plugin configuration. The updated configuration is pushed automatically, in the background, to every affected resource (newly- or no-longer-mapped groups' members, or every mapped group's members if the Plugin configuration itself changed).
The Monitoring Template to update
Show optional properties
{
"name": "string",
"services": [
{
"configurations": [
{
"configName": "string",
"parameters": [
{}
]
}
],
"serviceName": "string"
}
]
}
"{\n \"id\" : \"3902b93e-422a-4c4e-888e-28e0bf82f5d0\",\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\", \"a1f2e3d4-5b6c-4d7e-8f9a-0b1c2d3e4f5a\" ],\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 \"configName\" : \"SYSLOG Process Check\",\n \"isActivated\" : true,\n \"parameters\" : [ {\n \"key\" : \"FILTER_VALUE\",\n \"value\" : \"syslog\"\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 updated Monitoring Template.
"{\n \"id\" : \"3902b93e-422a-4c4e-888e-28e0bf82f5d0\",\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\", \"a1f2e3d4-5b6c-4d7e-8f9a-0b1c2d3e4f5a\" ],\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 \"configName\" : \"SYSLOG Process Check\",\n \"isActivated\" : true,\n \"parameters\" : [ {\n \"key\" : \"FILTER_VALUE\",\n \"value\" : \"syslog\"\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 Monitoring Template failed validation
No Monitoring Template exists with the given id
The Monitoring Template was concurrently modified by another request
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name":"string","services":["object"]}' https://{api_host}/suite-api/api/applications/templates