mirror of
https://github.com/kemko/keenetic-grafana-monitoring.git
synced 2026-01-01 15:45:43 +03:00
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"endpoint" : "http://192.168.1.1:79/rci",
|
|
"interval_sec" : 10,
|
|
"metrics" : [
|
|
{
|
|
"command": "processes",
|
|
"root" : "$.process.*",
|
|
"tags" : {
|
|
"name": "~",
|
|
"process_name" : "$.name",
|
|
"pid": "$.pid"
|
|
},
|
|
"values" : {
|
|
"cpu": "$.statistics.cpu.cur",
|
|
"memory": "$.vm-size"
|
|
}
|
|
},
|
|
{
|
|
"command": "ip hotspot",
|
|
"root" : "$.host[*]",
|
|
"tags" : {
|
|
"hostname" : "$.hostname",
|
|
"name" : "$.name",
|
|
"ssid": "$.ssid",
|
|
"mode": "$.mode",
|
|
"ip": "$.ip",
|
|
"mac": "$.mac"
|
|
},
|
|
"values" : {
|
|
"active": "$.active",
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"txrate": "$.txrate",
|
|
"uptime": "$.uptime",
|
|
"signal": "$.rssi",
|
|
"speed": "$.speed"
|
|
}
|
|
},
|
|
{
|
|
"command": "ip nat",
|
|
"root" : "$.[*]",
|
|
"tags" : {
|
|
"src" : "$.src",
|
|
"dst" : "$.dst"
|
|
},
|
|
"values" : {
|
|
"bytes-in": "$.bytes",
|
|
"bytes-out": "$.bytes-out"
|
|
}
|
|
}
|
|
]
|
|
} |