{ "id":"/axapi/v3/visibility/packet-capture/object-templates/smtp-vport-tmpl/{name}", "type":"object", "node-type":"list", "title":"smtp-vport-tmpl", "partition-visibility":"shared", "description":"Configure template for counter.smtp_vport", "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/smtp-vport-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/smtp-vport-tmpl/{name}/trigger-stats-inc", "properties":{ "no_proxy":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for No proxy error" }, "parse_req_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse request failure" }, "server_select_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Server selection failure" }, "forward_req_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Forward request failure" }, "forward_req_data_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Forward REQ data failure" }, "snat_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Source NAT failure" }, "send_client_service_not_ready":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Sent client serv-not-rdy" }, "recv_server_unknow_reply_code":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Recv server unknown-code" }, "read_request_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Read request line fail" }, "get_all_headers_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Get all headers fail" }, "too_many_headers":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Too many headers" }, "line_too_long":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Line too long" }, "line_extend_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Line extend fail" }, "line_table_extend_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Table extend fail" }, "parse_request_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse request line fail" }, "insert_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Ins response line fail" }, "remove_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Del response line fail" }, "parse_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse response line fail" }, "server_STARTTLS_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Server side STARTTLS fail" }, "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/smtp-vport-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" }, "no_proxy":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for No proxy error" }, "parse_req_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse request failure" }, "server_select_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Server selection failure" }, "forward_req_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Forward request failure" }, "forward_req_data_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Forward REQ data failure" }, "snat_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Source NAT failure" }, "send_client_service_not_ready":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Sent client serv-not-rdy" }, "recv_server_unknow_reply_code":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Recv server unknown-code" }, "read_request_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Read request line fail" }, "get_all_headers_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Get all headers fail" }, "too_many_headers":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Too many headers" }, "line_too_long":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Line too long" }, "line_extend_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Line extend fail" }, "line_table_extend_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Table extend fail" }, "parse_request_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse request line fail" }, "insert_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Ins response line fail" }, "remove_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Del response line fail" }, "parse_resonse_line_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Parse response line fail" }, "server_STARTTLS_fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for Server side STARTTLS fail" }, "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" ] }