Cycle Graphs Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
kmhendress
Posts: 33
Joined: Wed Aug 27, 2008 2:49 pm

Post by kmhendress »

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

TheWitness
I can't run pia 2.x on Cacti 0.8.7a correct?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Pretty sure you can run either 2.1 or 2.2. take your time though.

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

PIA 2.1 or 2.2?

Post by kmhendress »

Where can I get the original install files for PIA 2.1 or 2.2. All I can find is 2.4 on http://cactiusers.org/downloads/

Thanks!
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There's a 2.2 beta on this web site. Use that. Google is your friend.

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?
akash
Posts: 6
Joined: Tue Aug 12, 2008 6:16 pm

Post by akash »

I am running Cacti 0.8.7d, PA 2.4, php5 and 0.7 of cycle

I still get the following error

Notice: Undefined variable: title in /usr1/web-data/htdocs/www/cacti/plugins/cycle/ajax.php on line 212

Notice: Undefined variable: graphid in /usr1/web-data/htdocs/www/cacti/plugins/cycle/ajax.php on line 212

and shows no graphs for cycling.
trent1980
Posts: 21
Joined: Fri Apr 10, 2009 3:08 pm

Post by trent1980 »

This might be a lame question so I apologize if it is. I don't have a "Cycle" tab ... I see the "cycle" tab in the menu-configuration-settings-cycle and I set some of the variables, but I don't know how to go to the graphs to see a cycle graph. I was expecting to see a tab called "cycle" next to console/graphs/clog/discover

help?
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - CMD.php
Server Info - Linux 2.6.18-92.1.22.el5
Web Server - Apache/2.2.3 (CentOS)
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, json, dbase, gd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.45
RRDTool - 1.2.30
SNMP - 5.4.2.1
Plugins
  • Nagios plugin for Cacti (npc - v2.0.0b)
    Network Discovery (discovery - v0.8.5)
    Cacti Log View (CLog - v1.21)
    Host Info (hostinfo - v0.2)
    Update Checker (update - v0.4)
    PHP Network Weathermap (weathermap - v0.95b)
    Cycle Graphs (Cycle Graphs - v0.7)
trent1980
Posts: 21
Joined: Fri Apr 10, 2009 3:08 pm

Post by trent1980 »

update ...

I created a new user that I copied from "admin" and the new user can see the cycle tab now.

I don't know what's different because both users have the same things checked (which is everything)

I checked with a friend who runs cacti and he says his admin account can see the cycle tab. (i thought maybe the admin couldn't??)
Tanzarian
Posts: 1
Joined: Tue Apr 21, 2009 10:54 pm

Cycle on Monitor plugin

Post by Tanzarian »

Hi The Witness

I recently installed this plugin and love the functionality.

We have one small problem with our Monitor screen and that is, we have too many devices to fit on one LCD screen.

Is there any chance that we can get cycle to work with the monitor screen and cycle with Device Templates perhaps so you cycle a page with many devices every x number of seconds? For example one cycle page would have printers and the next cycle page would have servers etc...

I am probably asking a lot but since you created the functionality for grpahs and weathermaps it has opened my eyes.

This way we can monitor all our devices on one screen instead of having multiple PCs with CACTI running. Saves time and money and much easier on the eyes :P

Thanks
Tanzarian
repudi8or
Posts: 27
Joined: Tue Sep 25, 2007 7:41 pm

Post by repudi8or »

Hi Cycle Folks,

I installed this plugin and its sort of working... Weirdly its only presenting every second graph. There seems no other lapse in functionality.

So it presents one graph ok and on the next refresh it shows a broken file icon, then a valid graph, then a broken file icon.... and so on, and so forth

in the apache error_log i see :-

[Fri May 29 12:07:48 2009] [error] [client 10.61.65.76] File does not exist: /opt/coolstack/apache2/htdocs/cacti/images/tab_mode_tree<br , referer: http://cactiserver/cacti/plugins/cycle/cycle.php
[Fri May 29 12:07:48 2009] [error] [client 10.61.65.76] File does not exist: /opt/coolstack/apache2/htdocs/cacti/images/tab_mode_list<br , referer: http://cactiserver/cacti/plugins/cycle/cycle.php
[Fri May 29 12:07:48 2009] [error] [client 10.61.65.76] File does not exist: /opt/coolstack/apache2/htdocs/cacti/images/tab_mode_preview<br , referer: http://cactiserver/cacti/plugins/cycle/cycle.php
ERROR: the RRD does not contain an RRA matching the chosen CF


Any thoughts about why this may be or how to gather further diagnostics that may help me find a resolution?

<edit> using the solaris dtrace tool opensnoop I found that when the above errors occur, apache is trying to access :-
80 21869 httpd -1 /opt/coolstack/apache2/htdocs/cacti/plugins/cycle/include/global.php

its like the root path of cacti has gotten messed up somehow and is now pointing to the cycle plugin dir .... any thoughts???

<end edit>

Regards Rep


Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - CMD.php
Server Info - SunOS 5.10
Web Server - Apache/2.2.9 (Unix) PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.7d
PHP - 5.2.6
PHP Extensions - libxml, xml, session, pcre, SimpleXML, SPL, PDO, SQLite, standard, Reflection, pdo_sqlite, filter, date, apache2handler, mysql, mysqli, apc, zlib, dom, snmp, sockets
MySQL - 5.1.25-rc-log
RRDTool - 1.2.19
SNMP - 5.0.9
Plugins
  • Update Checker (update - v0.4)
    Global Plugin Settings (settings - v0.5)
    Network Discovery (discovery - v0.8.5)
    Device Monitoring (monitor - v0.8.2)
    Host Info (hostinfo - v0.2)
    Cycle Graphs (Cycle Graphs - v0.7)
repudi8or
Posts: 27
Joined: Tue Sep 25, 2007 7:41 pm

Post by repudi8or »

Ok the problem of cycle only presenting every second graph persists.

When I check the page source that cycle is generating when the graphs are not presented i see the following :-

please note the line ending :-
img src="/cacti/images/tab_mode_tree<br />
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr height="25" bgcolor="#a9a9a9" class="noprint">
<td colspan="2" valign="bottom" nowrap>
<table width="100%" cellspacing="0" cellpadding="0">
<tr style="background: transparent url('/cacti/images/cacti_backdrop2.gif') no-repeat center right;">
<td id="tabs" nowrap>
&nbsp;<a href="/cacti/index.php"><img src="/cacti/images/tab_console.gif" alt="Console" align="absmiddle" border="0"></a><a href="/cacti/graph_view.php"><img src="/cacti/images/tab_graphs.gif" alt="Graphs" align="absmiddle" border="0"></a><a href="/cacti/plugins/cycle/cycle.php"><img src="/cacti/plugins/cycle/images/tab_cycle_down.gif" alt="cycle" align="absmiddle" border="0"></a><a href="/cacti/plugins/discovery/discover.php"><img src="/cacti/plugins/discovery/images/tab_discover.gif" alt="Discover" align="absmiddle" border="0"></a><a href="/cacti/plugins/monitor/monitor.php"><img src="/cacti/plugins/monitor/images/tab_monitor.gif" alt="Monitor" align="absmiddle" border="0"></a> </td>
<td id="gtabs" align="right" nowrap>

<a href="/cacti/graph_settings.php"><img src="/cacti/images/tab_settings.gif" border="0" alt="Settings" align="absmiddle"></a>&nbsp;&nbsp;<a href="/cacti/graph_view.php?action=tree"><img src="/cacti/images/tab_mode_tree<br />
<b>Notice</b>: Undefined index: action in <b>/opt/coolstack/apache2/htdocs/cacti/include/top_graph_header.php</b> on line <b>102</b><br />
.gif" border="0" title="Tree View" alt="Tree View" align="absmiddle"></a><a href="/cacti/graph_view.php?action=list"><img src="/cacti/images/tab_mode_list<br />
<b>Notice</b>: Undefined index: action in <b>/opt/coolstack/apache2/htdocs/cacti/include/top_graph_header.php</b> on line <b>102</b><br />
.gif" border="0" title="List View" alt="List View" align="absmiddle"></a><a href="/cacti/graph_view.php?action=preview"><img src="/cacti/images/tab_mode_preview<br />
<b>Notice</b>: Undefined index: action in <b>/opt/coolstack/apache2/htdocs/cacti/include/top_graph_header.php</b> on line <b>102</b><br />
.gif" border="0" title="Preview View" alt="Preview View" align="absmiddle"></a>&nbsp;<br>
</td>
</tr>
</table>
</td>
</tr>
also i have started to occasionally get the following error seeming to suggest some includes are not being found :-
Warning: include(./include/global.php) [function.include]: failed to open stream: No such file or directory in /opt/coolstack/apache2/htdocs/cacti/include/auth.php on line 25

Warning: include() [function.include]: Failed opening './include/global.php' for inclusion (include_path='/opt/coolstack/php5/lib/php:.:/opt/coolstack/apache2/htdocs/cacti/include:') in /opt/coolstack/apache2/htdocs/cacti/include/auth.php on line 25

Fatal error: Call to undefined function db_fetch_cell() in /opt/coolstack/apache2/htdocs/cacti/include/auth.php on line 28
seems my cacti installation is biodegrading since i installed the cycle plugin.

help !!
repudi8or
Posts: 27
Joined: Tue Sep 25, 2007 7:41 pm

Post by repudi8or »

ok seems like there are multiple issues here, I fixed one of them (where the tabs after the graph_settings tab) were not being visually represented. The problem was in top_graph_header.php and the fix was found is this thread :-

http://forums.cacti.net/viewtopic.php?t ... c&start=30

Now the cycle page has all the tabs presented and the errors related to tabs have disappeared.

I still only see every second graph presented by cycle however. Still working on it.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Simply goto Console->Settings->Cycle and press "Save". This should resolve the problem. There is an issue obtaining defaults with the plugin. I saw this during training in Japan a few weeks ago.

I was a bit embarrassed.

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?
chasonb
Posts: 2
Joined: Mon Jul 13, 2009 5:41 am
Location: Atlanta, GA

graph timespan will not change

Post by chasonb »

I am using cacti 0.8.7e and cycle v.7. It seems to be working as expected except that the graph timespans will not change. It doesn't matter what I set as the default timespan in the cycle tab of the settings page of Cacti or what timespan I choose from the drop down while viewing the cycle. It appears that the timespan is always the past 24 hours. Viewing the graphs normally in Cacti allows me to view the various timespans just fine. Has anyone seen this before?

Thanks,
-Brad
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

To let us know what is going on, due the following:

1) Use FF 3.x
2) Install Firebug
3) Open Cycle and post a screenshot of the errors generated when you change the timespan.
4) Also, check the apache error_log for additional details/clues and post as well.

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

Re: graph timespan will not change

Post by kmhendress »

chasonb wrote:I am using cacti 0.8.7e and cycle v.7. It seems to be working as expected except that the graph timespans will not change. It doesn't matter what I set as the default timespan in the cycle tab of the settings page of Cacti or what timespan I choose from the drop down while viewing the cycle. It appears that the timespan is always the past 24 hours. Viewing the graphs normally in Cacti allows me to view the various timespans just fine. Has anyone seen this before?

Thanks,
-Brad
I've got the same issue! Has there been any progress made on this problem?

Thanks,
Kevin
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests