Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
In the process of switching the graph values (upload/download) and changing colors, I now see this on some of my graphs with the graph template that I was working on. I checked all possible values and it appears that there is only one graph item input associated and they are different. In the logs, I do see that there are two separate snmp values received for this graph, but only one value is being graphed two times.
Anyone seen this before or have any tips on how to clear this up ?
Here are a couple images, as well as snippets from "php cmd.php" that may or may not be related. I stopped checking the logs after things appeared to be working right so I don't know if this is related.
time: 169
export: running graph export
ERROR: step must be >= 1 second
<br />
<b>Notice</b>: Undefined variable: regexps in <b>/var/www/html/cacti/lib/rrd.php</b> on line <b>308</b><br />
<br />
<b>Notice</b>: Undefined variable: fetch_array in <b>/var/www/html/cacti/lib/rrd.php</b> on line <b>323</b><br />
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source<br>ERROR: step must be >= 1 second
<br />
<b>Notice</b>: Undefined variable: regexps in <b>/var/www/html/cacti/lib/rrd.php</b> on line <b>308</b><br />
<br />
<b>Notice</b>: Undefined variable: fetch_array in <b>/var/www/html/cacti/lib/rrd.php</b> on line <b>323</b><br />
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source<br>ERROR: step must be >= 1 second
<br />
Ok, I found a couple things. The log messages are totally unrelated. Need to find out what that means later.
The workaround for the same values being graphed is to go under the Graph Management, click on the problem graph, and then I see under Supplemental Graph Template Data, that the inbound and outbound data sources are pointing to the same thing. Well, that's a nice workaround, but how come tht is not displayed in my template ? Or am I looking in the wrong place ? I'd hate to think that I have to go into every graph and manually change that value.
I'm starting to think that this is a bug unless someone can point out where to change this in my template. But like I already said, in the templates, there are two different data sources listed for this particular graph.