{ "id":"/axapi/v3/visibility/monitor", "type":"object", "node-type":"scalar", "title":"monitor", "partition-visibility":"shared", "description":"Configure monitoring keys", "properties":{ "primary-monitor":{ "type":"string", "format":"enum", "partition-visibility":"shared", "modify-not-allowed":1, "description":"'xflow': Monitor xflow samples; ", "enum":[ "xflow" ], "optional":false }, "monitor-key":{ "type":"string", "format":"enum", "partition-visibility":"shared", "modify-not-allowed":1, "description":"'dest': Monitor traffic to any destination; 'service': Monitor traffic to any service; ", "enum":[ "dest", "service" ], "optional":true }, "mon-entity-topk":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable topk for primary entities", "optional":true }, "source-entity-topk":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable topk for sources to primary-entities", "optional":true }, "v4-class-list":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/class-list", "description":"Class list of ipv4 addresses to be monitored", "optional":true }, "v4-grouping":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable aggregate the log and notification per class-list", "optional":true }, "v6-class-list":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/class-list", "description":"Class list of ipv6 addresses to be monitored", "optional":true }, "v6-grouping":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable aggregate the log and notification per class-list", "optional":true }, "template":{ "type":"object", "properties":{ "notification":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "notif-template-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "$ref":"/axapi/v3/visibility/reporting/template/notification/template-name" }, "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 }, "port-scan-filter-settings":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/port-scan-filter-settings", "properties":{ "pkt-rate-threshold":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "default":10, "partition-visibility":"shared", "description":"packet rate threshold for the filter (default 10 pkts/sec, set to 0 pkts/sec to disable the feature)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "sflow":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/sflow", "properties":{ "listening-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":6343, "partition-visibility":"shared", "description":"sFlow port to receive packets (sFlow port number(default 6343))" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "netflow":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/netflow", "properties":{ "listening-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":9996, "partition-visibility":"shared", "description":"Netflow port to receive packets (Netflow port number(default 9996))" }, "template-active-timeout":{ "type":"number", "format":"number", "minimum":2, "maximum":300, "default":30, "partition-visibility":"shared", "description":"Configure active timeout of the netflow templates received in mins (Template active timeout(mins)(default 30mins))" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "debug-list":{ "type":"array", "minItems":1, "items":{ "type":"debug" }, "uniqueItems":true, "$ref":"/axapi/v3/visibility/monitor/debug/{debug-ip-addr}+{debug-port}+{debug-protocol}", "array":[ { "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr", "optional":false }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port", "optional":false }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ], "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "debug-ip-addr", "debug-port", "debug-protocol" ] } ] }, "replay-debug-file":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/replay-debug-file/{debug-ip-addr}", "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr" }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port" }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ] } }, "required":[ "debug-ip-addr" ] }, "delete-debug-file":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/delete-debug-file/{debug-ip-addr}", "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr" }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port" }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ] } }, "required":[ "debug-ip-addr" ] }, "secondary-monitor":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/secondary-monitor", "properties":{ "secondary-monitoring-key":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'service': Monitor traffic to any service; ", "enum":[ "service" ] }, "mon-entity-topk":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable topk for secondary entities" }, "source-entity-topk":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable topk for sources to secondary-entities" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" }, "debug-list":{ "type":"array", "minItems":1, "items":{ "type":"debug" }, "uniqueItems":true, "$ref":"/axapi/v3/visibility/monitor/secondary-monitor/debug/{debug-ip-addr}+{debug-port}+{debug-protocol}", "array":[ { "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr", "optional":false }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port", "optional":false }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ], "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "debug-ip-addr", "debug-port", "debug-protocol" ] } ] }, "delete-debug-file":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/secondary-monitor/delete-debug-file/{debug-ip-addr}", "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr" }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port" }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ] } }, "required":[ "debug-ip-addr" ] }, "replay-debug-file":{ "type":"object", "$ref":"/axapi/v3/visibility/monitor/secondary-monitor/replay-debug-file/{debug-ip-addr}", "properties":{ "debug-ip-addr":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Specify source/dest ip addr" }, "debug-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify port" }, "debug-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TCP': TCP; 'UDP': UDP; 'ICMP': ICMP; ", "enum":[ "TCP", "UDP", "ICMP" ] } }, "required":[ "debug-ip-addr" ] } } } } }