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.
I have a php script that goes off and collects data, printing it back out to the system. This exact script worked fine until I upgraded to v1.02 a little over a week ago - then it stopped displaying data for all but 2 of the items. Once v1.03 came out this week, I upgraded to it to see if helped - it actually broke the two that were working.
The individual output fields are simple just the name - EXACTLY as it is written out by my script - and have the update RRDfile box checked.
I've tried the script manually - it works great - no issues. For some reason the polling doesn't appear to be liking it - though CLOG isn't showing any errors in requesting that data either.
I'm a bit at a loss after tweaking with it for a couple of weeks... Looking for some advice.
The script looks like it should function just fine (there are a few things that should be written just for codings sake) One thing is you should remove that closing PHP tag or the blank line after it. It is basically causing it to also output a newline.
The real question I have is why isn't the output you are showing have the proper space between the data sets? The echo is there in your script.
Again, this worked perfectly prior to the upgrade, but hasn't worked since the upgrade...Not sure what has changed in this area of code?
Any suggestions for better method of troubleshooting this? It seems far simpler to troubleshoot SNMP based problems rather than script based... I'm open to suggestions...
It is updating the rrd as I'd expect -- and I've actually got two of the values from above populating now... Air_Diff and Geo_Diff - none of the rest are working?
Hmmm... I think I've figured this out - but don't know how to fix it.
This was all set to 1 minute polling back in v0.8.8b - upon upgrade it shows 5 minute polling interval using the new 'Data Source Profiles' - however, I have no clue (nor can find any docs) how to create a new 1 minute polling.
So, again, I think this is a Data Source Profile issue - but how do I fix this? You can't (from what I can tell) update the minimal heartbeat with rrdtool tuner...?
I'd rather go back to 1 minute polling for the entire system...is that possible to change somewhere?