Cacti 1.2.14 does not show Windows 2016 Network Interface graph.

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
stateoflat2018
Posts: 4
Joined: Thu Apr 12, 2018 3:57 am

Cacti 1.2.14 does not show Windows 2016 Network Interface graph.

Post by stateoflat2018 »

Hello, I'm trying to monitor Windows 2016 Server from CentOS7.8/Cacti 1.2.14(php7.4 & MySQL8).

By registering Win server to my cacti now I can monitor disk, memory, usage, loggin number and such but network interface.
According to cacti log, there are error as:

10/21/2020 14:09:36 - ERROR PHP WARNING: sizeof(): Parameter must be an array or an object that implements Countable in file: /usr/share/cacti/lib/graph_variables.php on line: 452
10/21/2020 14:09:36 - CMDPHP PHP ERROR WARNING Backtrace: (/graph.php[549]:rrdtool_function_graph(), /lib/rrd.php[1583]:variable_nth_percentile(), /lib/graph_variables.php[452]:CactiErrorHandler())
10/21/2020 14:09:36 - ERROR PHP WARNING: sizeof(): Parameter must be an array or an object that implements Countable in file: /usr/share/cacti/lib/graph_variables.php on line: 452
10/21/2020 14:09:36 - CMDPHP PHP ERROR WARNING Backtrace: (/graph.php[553]:rrdtool_function_graph(), /lib/rrd.php[1583]:variable_nth_percentile(), /lib/graph_variables.php[452]:CactiErrorHandler())
10/21/2020 14:09:36 - ERROR PHP WARNING: sizeof(): Parameter must be an array or an object that implements Countable in file: /usr/share/cacti/lib/graph_variables.php on line: 452
10/21/2020 14:09:36 - CMDPHP PHP ERROR WARNING Backtrace: (/graph.php[553]:rrdtool_function_graph(), /lib/rrd.php[1583]:variable_nth_percentile(), /lib/graph_variables.php[452]:CactiErrorHandler())

I need some help to resolve this error.
Thank you for your help in advance.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.14 does not show Windows 2016 Network Interface graph.

Post by TheWitness »

Appreciate you reporting that. Some fixes have been made as a result.
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?
stateoflat2018
Posts: 4
Joined: Thu Apr 12, 2018 3:57 am

Re: Cacti 1.2.14 does not show Windows 2016 Network Interface graph.

Post by stateoflat2018 »

Hello TheWitness, thank you for checking out my post.
According to your post, fix will be included in next cacti update?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.14 does not show Windows 2016 Network Interface graph.

Post by TheWitness »

Correct 1.2.15. At least the warning will be gone. How you generated it, well, that's a bit of a mystery. We will cross that bridge once it's released.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests