You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template #5259
I am using a perl script for data input which works perfectly fine. If there is only one item in the ds it is working, If I add more than one item rrd is no longer updated.
If the data template consists of only the temperature it is working. If the data template contains two or more items it is no longer functioning. All values in the ds file and temperature graph are NaN.
If using spine, you have to output the entire output in one print. If you are using multiple print's inside the script, it will fail. This is a known and documented behavior of spine.
This should work. Post a screen shot of your Data Template and Data Input Method, or simply export your Graph Template and post the XML here GZIPed of course.
Last thing, turn logging to HIGH for one poller cycle and review the Cacti log for your Data Sources. You should be able to search for [map and find what you are looking for.
Next thing to do is to put the one of the devices into debug mode, put the general debug level to LOW, and then look at the output generated by the poller for that specific device.
changed the title [-]rrd files do not update whith more than one item in the ds[/-][+]When the Data Template contains more Data Sources than the Graph Template RRDfiles won't update[/+]on Mar 19, 2023
changed the title [-]When the Data Template contains more Data Sources than the Graph Template RRDfiles won't update[/-][+]RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template[/+]on Sep 3, 2023
Activity
TheWitness commentedon Mar 7, 2023
If using spine, you have to output the entire output in one print. If you are using multiple print's inside the script, it will fail. This is a known and documented behavior of spine.
TheWitness commentedon Mar 7, 2023
This should work. Post a screen shot of your Data Template and Data Input Method, or simply export your Graph Template and post the XML here GZIPed of course.
WirthmU commentedon Mar 8, 2023
The data input method is the same for both graphs:

... this list continues.
Here are the templates:
Graph working:


cacti_graph_template_fhem_uradmonitor_temperature_template.xml
Graph not working:


cacti_graph_template_fhem_uradmonitor_humidity_template.xml
TheWitness commentedon Mar 8, 2023
Can you enable boost and then collect about 30 minutes of data and then query the poller_output_boost table for the local_data_id? Send the output:
TheWitness commentedon Mar 9, 2023
Last thing, turn logging to HIGH for one poller cycle and review the Cacti log for your Data Sources. You should be able to search for
[mapand find what you are looking for.WirthmU commentedon Mar 13, 2023
I think I did enable boost but the query did not give anything:
WirthmU commentedon Mar 13, 2023
I did set logging to high but I cannot search for [map
TheWitness commentedon Mar 13, 2023
You have to put a backslash in front of the square bracket.
WirthmU commentedon Mar 13, 2023
It looks like both DS are ok:
Temperature:
Humidity:
But as I said only the DS (temperature) with one single parameter is graphing. The DS with two is not (temperature + humidity).
TheWitness commentedon Mar 13, 2023
Are you seeing any "[map" for those data sources?
TheWitness commentedon Mar 13, 2023
Next thing to do is to put the one of the devices into debug mode, put the general debug level to LOW, and then look at the output generated by the poller for that specific device.
WirthmU commentedon Mar 13, 2023
How do I put a device into debug mode?
TheWitness commentedon Mar 13, 2023
Edit the device and you will find a link in upper right hand corner.
15 remaining items
[-]rrd files do not update whith more than one item in the ds[/-][+]When the Data Template contains more Data Sources than the Graph Template RRDfiles won't update[/+]Fixing Issue #5259 - Data Collection Issues with Corner Cases
TheWitness commentedon Mar 19, 2023
Urs, this is fixed now. Just going to let it run a day or so on your system before closing. Tested with boost on and off.
TheWitness commentedon Mar 23, 2023
@WirthmU, everything good on your end?
WirthmU commentedon Mar 23, 2023
I did let it run for a few days and it looks good. Also did create new graphs of the devices in question and this is working as well.
Thank you for your support!
TheWitness commentedon Mar 23, 2023
Okay. I'll keep it open a few more days then. Keep me posted or simply close when you are satisfied.
Porting #5259 - Issues with Data Template and Graphs
[-]When the Data Template contains more Data Sources than the Graph Template RRDfiles won't update[/-][+]RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template[/+]