Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cycle Graphs Plugin
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Wed Aug 30, 2006 8:32 am    Post subject: Reply with quote

I am going to get updating this plugin soon. I have not had much time to work on the plugin for the past few months. Just hope I can still remember what all the code means
Back to top
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Fri Sep 01, 2006 6:10 am    Post subject: Reply with quote

I have just updated this plugin to version 0.3 there are a few changes to the way it works and added custom graph support.

At the moment the custom graphs have to be setup in the Misc tab in the Settings page by entering the graph ID.

For example the URL to one of my graphs is http://example.com/graph.php?local_graph_id=73&rra_id=all

I would add the number 73 to the list.

The custom graph rotation will be changed in the future but I am either going to wait until cigamit adds a hook to the graph edit page or just create a new setup page where you can specify the graphs and the order. Your input on this would be appreciated.

If there are any problems or you have any more ideas to add to the TODO list then let me know!
Back to top
jherrinike



Joined: 10 May 2006
Posts: 22
Location: Memphis, TN USA

PostPosted: Mon Sep 04, 2006 11:10 am    Post subject: Reply with quote

I like the changes but there are three things that I can not figure out.

1. On the cycle screen it puts a line besides the graph instead of under it.

2. Even though I can see the cycle tab when logged in as admin when I go to user management I do not have a option to put this for the other users.

3. after running for a bit I get this:
undefined
| < Prev | Stop Start | Next > |
Next Update In 0 Seconds
Unknown column 'undefined' in 'where clause'



Any ideas?

Thanks
Back to top
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Tue Sep 05, 2006 2:19 pm    Post subject: Reply with quote

jherrinike wrote:
1. On the cycle screen it puts a line besides the graph instead of under it.


Fixed in the currect version for download on the first post (didn't bother to update version number as it was just some test code I forgot to remove).

jherrinike wrote:
2. Even though I can see the cycle tab when logged in as admin when I go to user management I do not have a option to put this for the other users.


Don't you have the 'View Cycle Graphs' tick box? I think I will look into making another realm for editing the graphs and viewing them.

jherrinike wrote:
3. after running for a bit I get this:
undefined
| < Prev | Stop Start | Next > |
Next Update In 0 Seconds
Unknown column 'undefined' in 'where clause'


I have noticed this now on my setup. It happens when it gets to the end of the list and tries to locate the first graph. I will look into this tomorrow.
Back to top
jherrinike



Joined: 10 May 2006
Posts: 22
Location: Memphis, TN USA

PostPosted: Tue Sep 05, 2006 2:46 pm    Post subject: Reply with quote

Okay the new version fixed my first problem.

Yes, under my user management I do not have a selection box to view cycle tab for any user. The admin users has the cycle tab but no others.

Thanks
Back to top
crackrocksteady



Joined: 06 Dec 2006
Posts: 45
Location: Perth , Australia

PostPosted: Wed Dec 20, 2006 7:48 pm    Post subject: Reply with quote

3. after running for a bit I get this:
undefined
| < Prev | Stop Start | Next > |
Next Update In 0 Seconds
Unknown column 'undefined' in 'where clause'


I am also getting this after my first graph. I have several graphs in my cacti install yet it only shows one and then cycles to Undefined.

Any Ideas???
Back to top
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 353
Location: Emeryville, CA

PostPosted: Wed Apr 25, 2007 3:24 pm    Post subject: Reply with quote

Have there been any updates to this plugin recently? I am having some problems with it. When i go to the Cycle tab, i see the first graph, and then i get the
Code:
undefined
| < Prev | Stop Start | Next > |
Next Update In 21 Seconds

Unknown column 'Label' in 'where clause'
error. Am i missing something?

I hope that this get's working. My boss just said we could mount our old flat panel in our NOC if we can get this working!!!

thanks

app
Back to top
jacauc



Joined: 10 Sep 2006
Posts: 34

PostPosted: Wed May 02, 2007 4:14 am    Post subject: Reply with quote

apperrault wrote:
Have there been any updates to this plugin recently? I am having some problems with it. When i go to the Cycle tab, i see the first graph, and then i get the
Code:
undefined
| < Prev | Stop Start | Next > |
Next Update In 21 Seconds

Unknown column 'Label' in 'where clause'
error. Am i missing something?

I hope that this get's working. My boss just said we could mount our old flat panel in our NOC if we can get this working!!!

thanks

app


Also interested in this! Just what I was looking for!
Back to top
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Wed Jul 25, 2007 11:39 am    Post subject: Reply with quote

Just to update any users of this plugin that there should be an update out tomorrow (once I hear back from cigamit about a few things) that fixes the error messages that appeared and stopped the graphs from working.

The new version has a working custom graph list and has been running fine for the last few days with no errors.

Watch this space...
Back to top
jnovicki@wfu.edu



Joined: 28 Aug 2007
Posts: 1

PostPosted: Tue Aug 28, 2007 3:24 pm    Post subject: Still watching space Reply with quote

Would love to know if anyone has found a solution to the problem:

Code:
undefined
| < Prev | Stop Start | Next > |
Next Update In 21 Seconds

Unknown column 'Label' in 'where clause'
Back to top
cmarticus



Joined: 02 Apr 2007
Posts: 12

PostPosted: Sun Oct 28, 2007 5:48 am    Post subject: Reply with quote

Has anyone gotten cycle to work on 8.7? I get in an error in line 106 of setup when trying to install. Worked fine under 8.6
Back to top
michelem



Joined: 30 Mar 2006
Posts: 34

PostPosted: Mon Oct 29, 2007 8:55 am    Post subject: Reply with quote

open the file:

/plugins/cycle/ajax.php

and add the line in bold:

chdir('../../');
include_once("./include/config.php");
include_once("./include/global.php");
Back to top
lyudell



Joined: 28 Sep 2007
Posts: 9

PostPosted: Wed Oct 31, 2007 10:32 am    Post subject: Reply with quote

I've added the reference to global.php, but I'm still getting the "unknown column 'undefined' in 'where clause'...

(Like most things with CACTI and plugins, I'm sure it is something I missed.)



Back to top
chrisgapske
Cacti User


Joined: 22 May 2007
Posts: 268
Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL

PostPosted: Wed Oct 31, 2007 1:05 pm    Post subject: me too Reply with quote

I still get this issue I get the first five or so graphs than same message.

lyudell wrote:
I've added the reference to global.php, but I'm still getting the "unknown column 'undefined' in 'where clause'...

(Like most things with CACTI and plugins, I'm sure it is something I missed.)



Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Wed Oct 31, 2007 10:51 pm    Post subject: Reply with quote

I played with Cycle 0.3 tonight and made it compatible with Cacti 0.8.7 and fixed a few bugs as well. I have labeled it 0.4, but I will leave the final versioning to the Author. For now you have it.

TheWitness



cycle-0.4.zip
 Description:

Download
 Filename:  cycle-0.4.zip
 Filesize:  14.03 KB
 Downloaded:  307 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group