mirror of
https://github.com/kemko/keenetic-grafana-monitoring.git
synced 2026-01-01 15:45:43 +03:00
177 lines
3.7 KiB
JSON
177 lines
3.7 KiB
JSON
{
|
|
"metrics": [
|
|
{
|
|
"command": "processes",
|
|
"root": "$.process.[*]",
|
|
"tags": {
|
|
"name": "$.comm",
|
|
"pid": "$.pid"
|
|
},
|
|
"values": {
|
|
"cpu": "$.statistics.cpu.cur",
|
|
"memory": "$.vm-size"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "WifiMaster0"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"temperature": "$.temperature"
|
|
}
|
|
},
|
|
{
|
|
"command": "ip hotspot",
|
|
"root": "$.host[*]",
|
|
"tags": {
|
|
"hostname": "$.hostname",
|
|
"name": "$.name",
|
|
"ssid": "$.ssid",
|
|
"mode": "$.mode",
|
|
"ip": "$.ip",
|
|
"mac": "$.mac"
|
|
},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"txrate": "$.txrate",
|
|
"uptime": "$.uptime",
|
|
"signal": "$.rssi",
|
|
"speed": "$.speed",
|
|
"active": "$.active"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface",
|
|
"root": "$.*",
|
|
"tags": {
|
|
"id": "$.id",
|
|
"type": "$.type",
|
|
"description": "$.description",
|
|
"interface-name": "$.interface-name",
|
|
"address": "$.address"
|
|
},
|
|
"values": {
|
|
"mtu": "$.mtu",
|
|
"uptime": "$.uptime",
|
|
"tx-queue": "$.tx-queue",
|
|
"state": "$.state"
|
|
}
|
|
},
|
|
{
|
|
"command": "system",
|
|
"root": "$",
|
|
"tags": {
|
|
"hostname": "$.hostname"
|
|
},
|
|
"values": {
|
|
"cpuload": "$.cpuload",
|
|
"memtotal": "$.memtotal",
|
|
"memfree": "$.memfree",
|
|
"memcache": "$.memcache",
|
|
"swaptotal": "$.swaptotal",
|
|
"swapfree": "$.swapfree",
|
|
"uptime": "$.uptime",
|
|
"membuffers": "$.membuffers"
|
|
}
|
|
},
|
|
{
|
|
"command": "internet status",
|
|
"root": "$",
|
|
"tags": {},
|
|
"values": {
|
|
"internet": "$.internet",
|
|
"gateway-accessible": "$.gateway-accessible",
|
|
"dns-accessible": "$.dns-accessible",
|
|
"host-accessible": "$.host-accessible",
|
|
"captive-accessible": "$.captive-accessible"
|
|
}
|
|
},
|
|
{
|
|
"command": "media",
|
|
"root": "$.*.partition.[*]",
|
|
"tags": {
|
|
"label": "$.label",
|
|
"uuid": "$.uuid"
|
|
},
|
|
"values": {
|
|
"total": "$.total",
|
|
"free": "$.free",
|
|
"state": "$.state"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface stat",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "ISP"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"rxspeed": "$.rxspeed",
|
|
"txspeed": "$.txspeed"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface stat",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "AccessPoint"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"rxspeed": "$.rxspeed",
|
|
"txspeed": "$.txspeed"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface stat",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "AccessPoint_5G"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"rxspeed": "$.rxspeed",
|
|
"txspeed": "$.txspeed"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface stat",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "GigabitEthernet0"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"rxspeed": "$.rxspeed",
|
|
"txspeed": "$.txspeed"
|
|
}
|
|
},
|
|
{
|
|
"command": "interface stat",
|
|
"root": "$",
|
|
"param": {
|
|
"name": "PPTP0"
|
|
},
|
|
"tags": {},
|
|
"values": {
|
|
"rxbytes": "$.rxbytes",
|
|
"txbytes": "$.txbytes",
|
|
"rxspeed": "$.rxspeed",
|
|
"txspeed": "$.txspeed"
|
|
}
|
|
}
|
|
]
|
|
} |