Plugin gexport error

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Wirthmueller
Cacti User
Posts: 58
Joined: Wed Mar 02, 2011 9:02 am

Plugin gexport error

Post by Wirthmueller »

I am using cacti 1.2.21 under Ubuntu and running spine.

Graph exports is installed and so far running fine. However in cacti.log I keep having errors of for the plugin gexport utiliy:

Code: Select all

13-07-2022 16:54:45 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/gexport/poller_export.php[107]:graph_export(), /plugins/gexport/functions.php[120]:run_export(), /plugins/gexport/functions.php[186]:export_ftp_php_execute(), /plugins/gexport/functions.php[1116]:export_ftp_php_uploaddir(), /plugins/gexport/functions.php[1170]:ftp_mkdir(), CactiErrorHandler())
13-07-2022 16:54:45 - ERROR PHP WARNING in Plugin 'gexport': ftp_mkdir(): js: File exists. in file: /usr/share/cacti/site/plugins/gexport/functions.php on line: 1170 
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plugin gexport error

Post by TheWitness »

Can you log a bug on GitHub? For the time being, if you change ftp_mkdir to @ftp_mkdir, does it change anything?
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Wirthmueller
Cacti User
Posts: 58
Joined: Wed Mar 02, 2011 9:02 am

Re: Plugin gexport error

Post by Wirthmueller »

Thank you for your quick reply - changing from ftp_mkdir to @ftp_mkdir in the functions.php file corrected the problem. The errors in the logfile are gone.

I have posted an issue for that on Cacti plugin_gexport GitHub: https://github.com/Cacti/plugin_gexport/issues/54
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests