NaNs on Cacti 0.8.7g after PIA 2.8 install.

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
russian.qwerty
Posts: 12
Joined: Wed Nov 25, 2009 9:08 am

NaNs on Cacti 0.8.7g after PIA 2.8 install.

Post by russian.qwerty »

Hello.

I've upgraded Cacti 0.8.7e + Spine 0.8.7e + PIA 2.4 to Cacti 0.8.7g + Spine 0.8.7g with all available patches, and checked all graphs - OK.

Then I've installed PIA 2.8 by using .diff and two prepatched files: data_sources.php and poller.php because I've seen some errors for these. After that I noticed that all the graphs have only NaNs. I've checked cacti.log with DEBUG level - clear. No errors, no warnings, but RRD files were not updated and it wasn't 'permission' problem.

Then I've returned only poller.php from poller.php.orig and all graphs started working.

Then I've installed the latest PIA that I could find pia2.9-beta2.tgz (As I can see, SVN contains only PIA 2.8 ) on Cacti 0.8.7g + Spine 0.8.7g + PIA 2.8 + poller.php from Cacti 0.8.7g. There is no .diff file. I've just copy all prepatched files, droped all plugin_* tables from DB and imported pa.sql. And now graphs are working just fine.

I wonder what exactly it was? Is it a known bug or I have problem with my hands? Please explain.

There is my current config:
Cacti Version - 0.8.7g
Plugin Architecture - 2.9
Poller Type - Spine 0.8.7g
Server Info - Linux 2.6.18-194.3.1.0.1.el5
Web Server - Apache/2.2.3 (Oracle)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, gd, ldap, mbstring, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.77
RRDTool - 1.4.3
SNMP - 5.3.2.2
Plugins
  • Old architecture plugins:
    Host Info (hostinfo - v0.2)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests