{ "id":"/axapi/v3/visibility/packet-capture/object-templates/slb-templ-cache-tmpl/{name}", "type":"object", "node-type":"list", "title":"slb-templ-cache-tmpl", "partition-visibility":"shared", "description":"Configure template for slb.template.cache", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Packet Capture Template Name", "optional":false }, "capture-config":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/visibility/packet-capture/capture-config", "description":"Specify name of the capture-config to use with this template", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "trigger-stats-severity":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/slb-templ-cache-tmpl/{name}/trigger-stats-severity", "properties":{ "error":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all error counters (Default disabled)" }, "error-alert":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all alert error counters (Default disabled)" }, "error-warning":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all warning error counters (Default disabled)" }, "error-critical":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all critical error counters (Default disabled)" }, "drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all drop counters (Default disabled)" }, "drop-alert":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all alert drop counters (Default disabled)" }, "drop-warning":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all warning drop counters (Default disabled)" }, "drop-critical":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all critical drop counters (Default disabled)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "trigger-stats-inc":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/slb-templ-cache-tmpl/{name}/trigger-stats-inc", "properties":{ "nc_req_header":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheNcReqHeader, help nc_req_header" }, "nc_res_header":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheNcResHeader, help nc_res_header" }, "rv_failure":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheRvFailure, help rv_failure" }, "content_toobig":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheContentToobig, help content_toobig" }, "content_toosmall":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheContentToosmall, help content_toosmall" }, "entry_create_failures":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheEntryCreateFailures, help entry_create_failures" }, "header_save_error":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for header_save_error" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "trigger-stats-rate":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/slb-templ-cache-tmpl/{name}/trigger-stats-rate", "properties":{ "threshold-exceeded-by":{ "type":"number", "format":"number", "minimum":0, "maximum":100, "default":5, "partition-visibility":"shared", "description":"Set the threshold to the number of times greater than the previous duration to start the capture, default is 5" }, "duration":{ "type":"number", "format":"number", "minimum":1, "maximum":250, "default":60, "partition-visibility":"shared", "description":"Time in seconds to look for the anomaly, default is 60" }, "nc_req_header":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheNcReqHeader, help nc_req_header" }, "nc_res_header":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheNcResHeader, help nc_res_header" }, "rv_failure":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheRvFailure, help rv_failure" }, "content_toobig":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheContentToobig, help content_toobig" }, "content_toosmall":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheContentToosmall, help content_toosmall" }, "entry_create_failures":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for slbTemplateCacheEntryCreateFailures, help entry_create_failures" }, "header_save_error":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for header_save_error" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "name" ], "required":[ "name" ] }