Cacti 1.2.11 - Multiple Errors

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
PerDeSi
Posts: 2
Joined: Wed Apr 29, 2020 8:38 am

Cacti 1.2.11 - Multiple Errors

Post by PerDeSi »

Hi Everyone,

I am getting consistent error messages in the Cacti logs. (see below)

I am running Cacti v1.2.11 on Debian 10. Running Thold v1.0.3 and Monitor v2.1. Brand new install with only one device added (excluding the host)

Any assistance is appreciated.

2020/05/05 10:45:02 - SYSTEM MONITOR STATS: Time:0.05 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2020/05/05 10:45:02 - SYSTEM THOLD STATS: Time:0.0027 Tholds:0 TotalDevices:2 DownDevices:0 NewDownDevices:0
2020/05/05 10:45:02 - SYSTEM STATS: Time:1.2207 Method:cmd.php Processes:1 Threads:0 Hosts:2 HostsPerProcess:2 DataSources:25 RRDsProcessed:16
2020/05/05 10:40:03 - SYSTEM MONITOR STATS: Time:0.04 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2020/05/05 10:40:03 - SYSTEM THOLD STATS: Time:0.0028 Tholds:0 TotalDevices:2 DownDevices:0 NewDownDevices:0
2020/05/05 10:40:03 - SYSTEM STATS: Time:1.2190 Method:cmd.php Processes:1 Threads:0 Hosts:2 HostsPerProcess:2 DataSources:25 RRDsProcessed:16

2020/05/05 10:35:17 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/monitor/monitor.php[85]:check_tholds(), /plugins/monitor/monitor.php[357]:CactiErrorHandler())
2020/05/05 10:35:17 - ERROR PHP WARNING in Plugin 'monitor': Invalid argument supplied for foreach() in file: /opt/cacti/plugins/monitor/monitor.php on line: 357
2020/05/05 10:35:17 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/monitor/monitor.php[85]:check_tholds(), /plugins/monitor/monitor.php[356]:CactiErrorHandler())
2020/05/05 10:35:17 - ERROR PHP WARNING in Plugin 'monitor': count(): Parameter must be an array or an object that implements Countable in file: /opt/cacti/plugins/monitor/monitor.php on line: 356
2020/05/05 10:35:17 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/monitor/monitor.php[85]:check_tholds(), /plugins/monitor/monitor.php[357]:CactiErrorHandler())
2020/05/05 10:35:17 - ERROR PHP WARNING in Plugin 'monitor': Invalid argument supplied for foreach() in file: /opt/cacti/plugins/monitor/monitor.php on line: 357
2020/05/05 10:35:17 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/monitor/monitor.php[85]:check_tholds(), /plugins/monitor/monitor.php[356]:CactiErrorHandler())
2020/05/05 10:35:17 - ERROR PHP WARNING in Plugin 'monitor': count(): Parameter must be an array or an object that implements Countable in file: /opt/cacti/plugins/monitor/monitor.php on line: 356


2020/05/05 10:35:03 - SYSTEM MONITOR STATS: Time:0.04 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2020/05/05 10:35:02 - SYSTEM THOLD STATS: Time:0.0026 Tholds:0 TotalDevices:2 DownDevices:0 NewDownDevices:0
2020/05/05 10:35:02 - SYSTEM STATS: Time:1.2184 Method:cmd.php Processes:1 Threads:0 Hosts:2 HostsPerProcess:2 DataSources:25 RRDsProcessed:16
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: Cacti 1.2.11 - Multiple Errors

Post by bmfmancini »

I believe the latest version of Monitor is 2.6 try grabbing the latest version and test again

Thanks!
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests