[
{
"id": "nprobe",
"parameters": [
{
"id": "network-interface",
"type": "string",
"example": "eth0",
"description": "Set the network interface to probe",
"config": {
"schema": "properties",
"source": "/etc/nprobe/nprobe.conf",
"path": [
"-i"
]
}
},
{
"id": "capture-direction",
"type": "integer",
"example": 1,
"description": "Specify packet capture direction: 0=RX+TX (default), 1=RX only, 2=TX only",
"config": {
"schema": "properties",
"source": "/etc/nprobe/nprobe.conf",
"path": [
"-capture-direction"
]
}
},
{
"id": "flow-template",
"type": "string",
"example": "%IPV4_SRC_ADDR %IPV4_DST_ADDR %IPV4_NEXT_HOP %INPUT_SNMP %OUTPUT_SNMP %IN_PKTS %IN_BYTES %FIRST_SWITCHED %LAST_SWITCHED %L4_SRC_PORT %L4_DST_PORT %TCP_FLAGS %PROTOCOL %SRC_TOS %SRC_AS %DST_AS %IPV4_SRC_MASK %IPV4_DST_MASK",
"description": "Specifies the NFv9 template",
"config": {
"schema": "properties",
"source": "/etc/nprobe/nprobe.conf",
"path": [
"-T"
]
}
}
],
"actions": [
{
"id": "start",
"status": "started",
"config": {
"cmd": "sudo systemctl start nprobe"
}
},
{
"id": "stop",
"status": "stopped",
"config": {
"cmd": "sudo systemctl stop nprobe"
}
},
{
"id": "restart",
"status": "started",
"config": {
"cmd": "sudo systemctl restart nprobe"
}
}
]
}
]
Comments