Undefined index: errors /usr/share/cacti/site/lib/functions.

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
corch
Posts: 7
Joined: Wed Jul 02, 2008 6:36 pm

Undefined index: errors /usr/share/cacti/site/lib/functions.

Post by corch »

I have recently installed an ubuntu 8.04 system using the supplied cacti (0.8.7b) and then installed the plugin architecture cacti-plugin-0.8.7b-PA-v2.1.

After installng several plugins - syslog, thold, monitor, settings, discovery, superlinks - some pages keep giving me and error like:

Notice: Undefined index: listthold.php: in /usr/share/cacti/site/lib/functions.php on line 1636

Notice: Undefined index: discover_template.php: in /usr/share/cacti/site/lib/functions.php on line 1636

Can anyone tell me what these errors mean or how to fix them?

The syslog reports page is giving a bunch of errors:

Notice: Undefined index: rows in /usr/share/cacti/site/plugins/syslog/functions.php on line 474

Notice: Undefined index: rows in /usr/share/cacti/site/plugins/syslog/functions.php on line 475

Warning: Division by zero in /usr/share/cacti/site/plugins/syslog/functions.php on line 475

Notice: Undefined variable: id in /usr/share/cacti/site/plugins/syslog/syslog_reports.php on line 260

As far as I can tell I have installed the plugins as required but obviously something is wrong... any ideas?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Make sure you get the syslog plug from the cactiusers.org site and not the docs.cacti.net site. Unfortunately, the syslog-latest.tar.gz there is not a released version.

TheWitness
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 7 guests