-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No graph generated on OpenWRT 19.07, but data is being collected #1
Comments
hi, i didnt use this script for almost 2 years and cant retest with an actual version of openwrt. |
Thanks for your reply.
The collectd.conf looks like this:
As one can see, the plugin calls the script /usr/lib/collectd/plc_exec.sh on a regular basis:
A process of collectd and the script is running:
The (manual) output amprate provides is:
Maybe the problem is with the last lines of the plc_exec.sh-script:
I do not see a directory called "exec-pl" in /tmp/rrd/TL-WPA8630p (TL-WPA8630p is my router's hostname). When I run the script on command line, it looks like this: |
ok, the problem is, that the script didnt produce an output. i think the problem is in the following line. the script only makes an output if the first mac is lesser than the second mac.
for testing you can start the shell-script directly from command line. the output should be like.
the output is based of your sample data. |
ok, i have to create a test environment on a spare router. |
I installed the plugin according to your manual and can see in the system log that the amprate-command is being triggered every 30 seconds, so the "exec"-plugin seems to work.
Unfortunately I do not see a graph for the exec-Plugin or anything that can be linked to PLC, when I click Statistisc, Graph (on https://192.168.1.1/cgi-bin/luci/admin/statistics/graph).
One can only see "Processor, Interfaces, Wireless, System Load, Memory".
What's necessary to get the graph generated and shown in LUCI?
The text was updated successfully, but these errors were encountered: