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 keep getting the error in the subject when running cmd.php. I've included some debug below ("DEBUG: SPAWN: (...)" was added by me, it just shows the command being executed). I've tried deleting the data sources in cacti and the rra/*.rrds, and making them all anew - but not once have I been able to get them all working at the same time. Bothersome.
I was just wondering if someone could explain that error to me - since my only idea for fixing it right now is trying to recreate the datasource in cacti, and it doesn't seem that helps always either.
Can you post "rrdtool create" command line visible at the top of data source configuration page? And "rrdtool update" visible when you click "edit data" near your data source name.
After looking abit closer on some of my DS that does NOT en up in an error, I can see that the above "rrdtool update" command actually has got some kind of duplicates in the command. Is this a bug?
Yes, it is a bug. Cacti sometimes leaves orphaned fields in src_data mysql table. First find out your data source ID number - it is visible in URL when viewing data source configuration page. Then use mysql client, connect to cacti database and do:
select * from src_data where dsid=<your_ds_id_number> order by id;
Your data input script has 6 fields (5 input and 1 output) so the query above should return 6 rows. It will probably return some more (probably 8 in total) - you can delete the oldest ones.