ReportIt! Plugin: not capturing/displaying total bandwidth for all data sources?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
jjasen
Posts: 6
Joined: Thu Feb 16, 2023 5:46 pm

ReportIt! Plugin: not capturing/displaying total bandwidth for all data sources?

Post by jjasen »

I've filed an issue against Cacti ReportIt! here: https://github.com/Cacti/plugin_reportit/issues/101

But as a general gist, running reports -- either manually or scheduled -- not all data sources get populated with TDI/TDO. You can drill down into the data source, and get the 7200 second captures, but in the high level, TDI and TDO display N/A.

Is there a way to restore this functionality?
jjasen
Posts: 6
Joined: Thu Feb 16, 2023 5:46 pm

Re: ReportIt! Plugin: not capturing/displaying total bandwidth for all data sources?

Post by jjasen »

This was working with Cacti 1.2.14 and ReportIt 1.1.3. Upgrading Cacti and the databases to 1.2.23 seems to have caused it to break.
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: ReportIt! Plugin: not capturing/displaying total bandwidth for all data sources?

Post by TheWitness »

I saw your GitHub bug on this too. Are there any errors in the Cacti.log when the report is running?
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?
jjasen
Posts: 6
Joined: Thu Feb 16, 2023 5:46 pm

Re: ReportIt! Plugin: not capturing/displaying total bandwidth for all data sources?

Post by jjasen »

2023-02-21 09:36:10 - CMDPHP SQL Backtrace: (/plugins/reportit/run.php[55]:calculation(), /plugins/reportit/run.php[78]:runtime(), /plugins/reportit/runtime.php[680]:db_execute(), /lib/database.php[355]:db_execute_prepared())
2023-02-21 09:36:10 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'INF' in 'field list'
2023-02-21 09:36:10 - CMDPHP SQL Backtrace: (/plugins/reportit/run.php[55]:calculation(), /plugins/reportit/run.php[78]:runtime(), /plugins/reportit/runtime.php[680]:db_execute(), /lib/database.php[355]:db_execute_prepared())
2023-02-21 09:36:10 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'INF' in 'field list'
2023-02-21 09:36:10 - CMDPHP SQL Backtrace: (/plugins/reportit/run.php[55]:calculation(), /plugins/reportit/run.php[78]:runtime(), /plugins/reportit/runtime.php[680]:db_execute(), /lib/database.php[355]:db_execute_prepared())
2023-02-21 09:36:10 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'INF' in 'field list'
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest