Adding ntce export

This commit is contained in:
Vitaliy Skrypnyk
2021-09-01 14:48:30 +03:00
parent a70258471c
commit 56f8f65d83
2 changed files with 21 additions and 12 deletions

View File

@@ -51,18 +51,6 @@
"state": "$.state"
}
},
{
"command": "ip nat",
"root" : "$.[*]",
"tags" : {
"src" : "$.src",
"dst" : "$.dst"
},
"values" : {
"bytes-in": "$.bytes",
"bytes-out": "$.bytes-out"
}
},
{
"command": "system",
"root" : "$",
@@ -174,6 +162,24 @@
"rxspeed": "$.rxspeed",
"txspeed": "$.txspeed"
}
},
{
"command": "ntce hosts",
"root" : "$.host[*].application[*]",
"tags" : {
"group-long" : "$.group-long",
"groupset-long-id" : "$.groupset-long-id",
"long" : "$.long",
"short": "$.short",
"name": "`parent`.`parent`.host.name",
"ip": "`parent`.`parent`.host.ip",
"hostname": "`parent`.`parent`.host.hostname"
},
"values" : {
"rxbytes": "$.rxbytes",
"txbytes": "$.txbytes"
}
}
]
}