Closed ilker-aktuna closed 2 weeks ago
any ideas ?
no one to help ? am I the only one trying to make this run ?
when I ask if this is abandoned, I get the answer "no" But then , nobody tries to understand the problem. if it is abandoned, I will give up ...
Dear @ilker-aktuna this is open source project, there are no SLA on customer support
I could suggest following steps:
config/metrics.json
and try to check what is router API return for commands from config eg http://<your_router_up>/rci/show/interface
for interfaces https://github.com/vitaliy-sk/keenetic-grafana-monitoring/blob/f7a08b61f8df03541e042f5eb5517e1d2fb3c6f1/config/metrics.json#L48I know this is open source and I don't expect customer support. But then I also don't export being ignored if someone is reading. I can understand that you are busy and don't have time to follow up, but at least you could have written that I should not wait
About troubleshooting: I have already checked DB content. Content missing on dashboard seems to be missing also on DB. I don'T have Influx UI, so I checked using command line "show measurements, show values etc)
I can access http://
check your config/metrics.json What should I check ?
Check exporter logs if there are any errors - what is exporter logs ?
Check exporter logs if there are any errors - what is exporter logs ?
Logging of keentic_influxdb_exporter.py that you run
What should I check ?
This is list of commands that will be executed on your router to export metrics
eg
{
"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"
}
means that result of show interface
will be exported to influx
additionally you could add logging.info(...) here to check what exported
actually I just tried the explore mode and I see that the data is there. But the imported panel does not show anything. In fact, if I add the same query from the imported panel to my self created panel, it works. isn't this weird ?
I've installed the scripts on the Keenetic router. On the OS there is no "nohup" command, so I changed the start script as :
(python /opt/home/keenetic-grafana-monitoring/keentic_influxdb_exporter.py >/dev/null 2>&1)&
It collects data from router and inserts into my influx db.
Then I imported the Grafana dashboard from here: https://grafana.com/grafana/dashboards/12723-keenetic/ (rev.3)
Some data is available but most of the dashboard is empty as in this screenshot:
For example , rxbytes/txbytes returned from "interface data" is empty. Why is that ? How can we troubleshoot this ?
thanks