hey everyone.. running 1.2.22 on windows.. and i imported a bunch of devices into cacti , and unlike the ones i was monitoring previously, now i am gettting "unknown rrdtool error' when looking at some of these device graphs.
i triple checked the perms on the logs and rra folders and they are correct.
from my cacti logs i am also seeing
2022-12-12 10:09:49 - CMDPHP PHP ERROR NOTICE Backtrace: (C:\inetpub\wwwroot\cacti\graphs_new.php[42]:form_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[164]:html_graph_new_graphs(), C:\inetpub\wwwroot\cacti\lib\html_graph.php[465]:host_new_graphs_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[274]:create_save_graph(), C:\inetpub\wwwroot\cacti\lib\template.php[2128]:push_out_host(), C:\inetpub\wwwroot\cacti\lib\utility.php[794]:update_poller_cache(), C:\inetpub\wwwroot\cacti\lib\utility.php[255]:api_poller_cache_item_add(), C:\inetpub\wwwroot\cacti\lib\api_poller.php[97]:get_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2634]:generate_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2965]:CactiErrorHandler())
2022-12-12 10:09:49 - ERROR PHP NOTICE: Undefined index: id in file: C:\inetpub\wwwroot\cacti\lib\functions.php on line: 2965
2022-12-12 10:09:19 - CMDPHP PHP ERROR NOTICE Backtrace: (C:\inetpub\wwwroot\cacti\graphs_new.php[42]:form_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[172]:host_new_graphs_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[274]:create_save_graph(), C:\inetpub\wwwroot\cacti\lib\template.php[2128]:push_out_host(), C:\inetpub\wwwroot\cacti\lib\utility.php[794]:update_poller_cache(), C:\inetpub\wwwroot\cacti\lib\utility.php[255]:api_poller_cache_item_add(), C:\inetpub\wwwroot\cacti\lib\api_poller.php[97]:get_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2634]:generate_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2965]:CactiErrorHandler())
and for a newly created device
2022-12-12 10:22:13 - AUTOM8 NOTE: Device[MIra Loma WCDC MS220 Switch], GT[2 Cisco - Memory Usage] Graph not added due to invalid data source output.
2022-12-12 10:22:12 - AUTOM8 NOTE: Device[MIra Loma WCDC MS220 Switch], GT[1 Cisco - CPU Usage] Graph not added due to invalid data source output.
2022-12-12 10:21:32 - CMDPHP PHP ERROR NOTICE Backtrace: (C:\inetpub\wwwroot\cacti\graphs_new.php[42]:form_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[172]:host_new_graphs_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[274]:create_save_graph(), C:\inetpub\wwwroot\cacti\lib\template.php[2128]:push_out_host(), C:\inetpub\wwwroot\cacti\lib\utility.php[794]:update_poller_cache(), C:\inetpub\wwwroot\cacti\lib\utility.php[255]:api_poller_cache_item_add(), C:\inetpub\wwwroot\cacti\lib\api_poller.php[97]:get_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2634]:generate_data_source_path(), C:\inetpub\wwwroot\cacti\lib\functions.php[2965]:CactiErrorHandler())
2022-12-12 10:21:32 - ERROR PHP NOTICE: Undefined index: id in file: C:\inetpub\wwwroot\cacti\lib\functions.php on line: 2965
not worried about the memory usage.. i actually removed that graph since right now i dont need that .. but a "polling time" and\or an "Advanced ping" graph gives me the rrdtool error. ive run out of ideas.. help?
unknown rrdtool error
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: unknown rrdtool error
This is fixed in the 1.2.x branch and will be included in the 1.2.23 release. The easiest thing to do right now is to edit that file and change 'id' to 'host_id' in that lib/functions.php file at the line specified, which I think is 2965.
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?
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?
Re: unknown rrdtool error
fixed my issue with your suggestion.. thank you good sir.
Who is online
Users browsing this forum: No registered users and 3 guests