I'm really confused and after fumbling around a couple days, I'd like to ask for some help please.
I'm collecting the AC Power output values from 2 solar inverters at my home. I wrote an SNMP exec script which delivers the 2 values I'm interested in, and SNMPWALK reads them correctly:
Code: Select all
cacti/rra> snmpwalk -v 1 -c xxxxx host:port .1.3.6.1.4.1.2021.8.1
[...]
UCD-SNMP-MIB::extOutput.1 = STRING: 601
UCD-SNMP-MIB::extOutput.2 = STRING: 372
ds[Output].last_ds = "557" for the one file and
ds[Output].last_ds = "345" for the other one --> the values look good and I assume if the last_ds is correct, the rest of the logged values are correct too. (This part has been running unchanged since yesterday)
Now I'm trying to make a graph (duplicating and modifying the "interface in/out" graph template) to plot the 2 values, stacked upon each other, with a "sum of both" line of top. At first glance it looks pretty good:
But at second glance:
- The heights of the areas seem correct, and match the scale at the left edge.
- But the values printed at the bottom are way off (for comparison, the 4200 is currently producing about 500W, and the 3000 about 300W)
It almost seems like the numbers in the top 2 lines at the bottom are multiplied by 8, but why don't they match the graph scale?
I tried selecting "Turn Bytes into Bits" in the Graph Template Items, then the graphing matches the numbers but everything is 8x too high.
How can I correct the graphing?
Here is my template item list: thanks,
Ethan