Script fails after upgrade from 0.8.6f to 0.8.6g

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

Moderators: Developers, Moderators

Surin
Posts: 13
Joined: Tue Oct 04, 2005 2:58 am

Post by Surin »

Here's the script causing all the trouble..

/peter
Attachments
saa_collector.pl.txt
(1.73 KiB) Downloaded 65 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Pretty strait forward script. What is your OS and what version of PHP are you running "php -v".

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please try this version of lib/poller.php, but don't forget to answer my questions above.

TheWitness
Attachments
poller.zip
(3.86 KiB) Downloaded 45 times
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?
Surin
Posts: 13
Joined: Tue Oct 04, 2005 2:58 am

Post by Surin »

[root@goofy ~]# uname -a
Linux goofy 2.6.12-1.1456_FC4 #1 Thu Sep 22 02:11:40 EDT 2005 i686 i686 i386 GNU/Linux

[root@goofy ~]# php -v
PHP 5.0.4 (cli) (built: Aug 17 2005 09:53:54)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies

I changed to the version of /lib/poller.php that you published and watched the log for some time now. There doesn't seem to be any changes. The poller still complains that the result is not valid.
Still, if I delete the .rrd, it will succeed in the next run. But only once.

Thanks,

/peter
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests