Cycle Graphs Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Yes, I tried looking for this also....not there.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I will attempt to see what's going on with this tonight.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:I will attempt to see what's going on with this tonight.

TheWitness
Larry - any joy with this ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
rwkasten
Posts: 2
Joined: Tue Jul 29, 2008 8:09 am
Location: Atlanta, GA
Contact:

Post by rwkasten »

I was having the same problem as apperrault. Closer analysis of the logfile indicated an authentication problem, one which I had seen before, too.

Firefox 3 has some authentication issues with cacti 0.8.7b, detailed in this post:

http://forums.cacti.net/about24765-0-asc-15.html

After going through the suggestions in that post, I now have cycle 0.6 working on my system.
bfg-randy
Posts: 3
Joined: Wed Nov 12, 2008 1:22 pm

Post by bfg-randy »

I have been consistently unable to get this plugin to work. First issue was, when unpacking the tarball it was creating with odd ownership/permissions. Owner dhcp, group 500, if anyone was interested. :wink: I fixed those only to get this on login:

Code: Select all

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

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

Notice: Undefined variable: sql_where in /usr/share/cacti/site/lib/functions.php on line 1489

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

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

Notice: Undefined variable: sql_where in /usr/share/cacti/site/lib/functions.php on line 1489

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/functions.php:1474) in /usr/share/cacti/site/auth_login.php on line 201
I get the cycle tab, but no graphs in it. Just "Notice: Undefined variable: title in /usr/share/cacti/site/plugins/cycle/ajax.php on line 153" and a countdown to the next update.

Cacti 0.8.7b, PA 2.1, cycle 0.6

Any help appreciated!
mrvu
Posts: 25
Joined: Tue Dec 30, 2008 3:54 am
Location: Vietnam

Post by mrvu »

Cycle 0.6 work for me but it generate 4 SQL error per minute (I use 1min poller interval). Maybe there are some problems with session:

http://forums.cacti.net/viewtopic.php?t=30487
aleu
Cacti User
Posts: 216
Joined: Mon Dec 11, 2006 10:17 am

Post by aleu »

mrvu wrote:Cycle 0.6 work for me but it generate 4 SQL error per minute (I use 1min poller interval). Maybe there are some problems with session:

http://forums.cacti.net/viewtopic.php?t=30487
I have the same problem. Grabbed Cycle plugin from SVN. Seems to work fine, but I see the aforementioned SQL errors.

Any idea why?
kmhendress
Posts: 33
Joined: Wed Aug 27, 2008 2:49 pm

"undefined" error

Post by kmhendress »

I have Cycle v0.5 with the duration addition running on Cacti 0.8.7a. The issue I am having is that as it cycles through it get to after 1 specific graph it will display:

|< Prev | Stop | Next |
"undefined"
Next Update in 3 seconds

Then it starts over, the graph before this error is not the last graph, I've got oodles of graphs.

I tried using v0.6 and it caused Cacti to stop functioning.....

Any ideas would be great!

Thanks,
Kevin
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Linux 2.6.9-42.0.10.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 5.1.6
PHP Extensions - libxml, xml, tokenizer, standard, SPL, PDO, session, SQLite, Reflection, posix, oci8, mysql, mssql, ldap, iconv, hash, gd, date, ctype, zlib, pcre, apache2handler
MySQL - 4.1.20-log
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
  • PHP Network Weathermap (weathermap - v0.95b)
    Device Monitoring (monitor - v0.8.2)
    Update Checker (update - v0.4)
    Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.3.9)
    Host Info (hostinfo - v0.2)
    Cacti-ReportIt (reportit - v0.6.1)
    Cycle Graphs (Cycle Graphs - v0.5)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

use 0.7
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?
kmhendress
Posts: 33
Joined: Wed Aug 27, 2008 2:49 pm

v0.7

Post by kmhendress »

I installed v0.7 and once it was installed I could no longer access the Cacti Web Instance. I would simply get a blank white screen.

As soon as I roll back to v0.5 things work fine.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post your apache error log. I am betting you are using PHP4.

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?
kmhendress
Posts: 33
Joined: Wed Aug 27, 2008 2:49 pm

Logs

Post by kmhendress »

Error Log:
[Thu Mar 05 07:54:14 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:16 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/index.php
[Thu Mar 05 07:54:17 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:18 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:18 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:48 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:48 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:49 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:50 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:51 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:52 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/cacti/index.php
[Thu Mar 05 07:54:57 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/
[Thu Mar 05 07:54:59 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:55:02 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:55:04 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:55:09 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:55:46 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:56:06 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:56:16 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155
[Thu Mar 05 07:56:27 2009] [error] [client xxx.xxx.xxx.xx] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in /usr/local/cacti/lib/database.php on line 155, referer: http://bigipportal.xx.xxxx.com/

Access Log:
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:51:22 -0600] "GET /cacti/index.php HTTP/1.1" 200 7523
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:14 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:16 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:17 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:17 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:18 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:48 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:48 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:49 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:50 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:51 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:52 -0600] "GET /cacti/index.php HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:57 -0600] "GET /cacti/ HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:54:59 -0600] "GET /cacti/ HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:55:02 -0600] "GET /cacti/ HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:55:04 -0600] "GET /cacti/ HTTP/1.1" 200 -
xxx.xxx.xxx.xx - - - [05/Mar/2009:07:55:09 -0600] "GET /cacti/ HTTP/1.1" 200 -

Per my phpinfo page:
PHP Version 5.1.6
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What versions of everything cacti are you running. Built from source or rpm?
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?
kmhendress
Posts: 33
Joined: Wed Aug 27, 2008 2:49 pm

Versions

Post by kmhendress »

Cacti: Built from source file - cacti-0.8.7a.tar.gz
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Linux 2.6.9-42.0.10.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 5.1.6
PHP Extensions - libxml, xml, tokenizer, standard, SPL, PDO, session, SQLite, Reflection, posix, oci8, mysql, mssql, ldap, iconv, hash, gd, date, ctype, zlib, pcre, apache2handler
MySQL - 4.1.20-log
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
  • PHP Network Weathermap (weathermap - v0.95b)
    Device Monitoring (monitor - v0.8.2)
    Update Checker (update - v0.4)
    Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.3.9)
    Host Info (hostinfo - v0.2)
    Cacti-ReportIt (reportit - v0.6.1)
    Cycle Graphs (Cycle Graphs - v0.5)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Not sure its designed to work with pia 1.x. It hasn't been tested anyway.

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