Every time the graph export runs, it deletes the previous export, so if you look at the HTML pages during an export, they don't work. If you run an ls
during the export you'll see all the files get deleted and then slowly recreated during the export.
Using local filesystem export, not FTP. And the sanitize option isn't ticked for FTP.
Is this a bug or a feature?
Cacti 0.8.7e with all the latest patches installed.
Graph export deletes old export every time
Moderators: Developers, Moderators
OK, with del_directory commented out, the export just doesn't work anymore. I assume that cacti won't overwrite existing files. Can this function be changed so instead of deleting and creating new files each time, it creates all the files with temporary file names and moves them over the old ones? This is much safer and won't leave the static html pages missing for minutes at a time on each graph export.
Who is online
Users browsing this forum: No registered users and 1 guest