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 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 Jan 25, 2006 8:13 am    Post subject: Cycle Graphs Plugin Reply with quote

I have been using cacti for almost a year now for my personal projects and recently the company I work for was looking into network monitoring solutions which as most of you may know can cost a fortune!
I started playing around with cacti more than I had before and noticed one thing lacking... the ability to cycle automatically through the graphs.

This plugin adds this functionality to Cacti!

We use it for displaying all our graphs on a wall mounted lcd panel for easy viewing of whats going on.

It uses the plugin architechure which made this a breeze to code (thanks cigamit!)

Code:
----[ Purpose

    This plugin allows you to automatically view the Cacti graphs one by one
    after a specified time delay.


----[ Features

    You can set cycle time delay.
    Can set permissions on who can view.
    Graph height and width can be specified.
    Graphs are not displayed if the user does not have access to them.
    Title of graph is displayed, font face, size and color can be changed.
   You can use the Prev/Next buttons to change graph.
   You can stop the rotation with the Stop button.
   The time until the next graph change is displayed under the title.
   It can use a custom graph list and only cycle through those.


----[ Installation

    To install put the cycle directory and all files into the plugins directory.

    Edit your includes/config.php and add cycle to your $plugins list.

    You can find the plugin settings under the Misc tab.


----[ Possible Bugs?
   
    The custom graph rotation is very simple and does not check for permissions.
   I am waiting for cigamit to add support for adding items to the edit graph pages so I can get it working fully.


----[ Future Changes
   
   Improve the way custom graphs are setup
   Cycle through Weathermaps (I need to look into how Weathermap works)

    Got any ideas then please let me know.


----[ Changelog
     --- 0.3 ---
         Converted the rotation code to use AJAX so the page does not fully refresh every time.
         Added custom graph rotation
         
     --- 0.2 ---
         Added Previous/Next/Stop Buttons
         
     --- 0.1 ---
           Initial release



cycle-0.3.tar.gz
 Description:
Cycle Graphs v0.3

Download
 Filename:  cycle-0.3.tar.gz
 Filesize:  13.03 KB
 Downloaded:  1284 Time(s)



Last edited by emericklaw on Fri Sep 01, 2006 11:02 am; edited 5 times in total
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Jan 25, 2006 9:49 am    Post subject: Re: Cycle Graphs Plugin Reply with quote

First, EXCELLENT idea, well implemented!

emericklaw wrote:
Code:

   
----[ Future Changes
   
    Add an option to each graph to allow it to be included on the cycle.

    Add previous and next buttons to skip between graphs.

    Add a stop button to make the page not refresh.

    Got any ideas then please e-mail me.


I think I can use this in our data center and just create a user ID that has access to those graphs I want to cycle through - which gets me past that issue.

One idea is for the graph page to display the name of the device in a large title format, or, even better, allow one - when adding a graph to the cycle - to add their own title along with the device name.

At any rate, great work!
Back to top
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Wed Jan 25, 2006 10:01 am    Post subject: Reply with quote

The graph selecting should be in a version I will have finished tonight, at the same time it would easy to add a cuctom title for the graph cycle and have that displayed above the graph.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Jan 25, 2006 1:36 pm    Post subject: Reply with quote

That would be great. I'll be pushing for a third monitor this week then.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Jan 25, 2006 5:41 pm    Post subject: Reply with quote

Excellent plugin, I look forward to using this one myself!
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Feb 01, 2006 11:06 am    Post subject: Reply with quote

emericklaw wrote:
The graph selecting should be in a version I will have finished tonight, at the same time it would easy to add a cuctom title for the graph cycle and have that displayed above the graph.


Have you had the opportunity to do this?
Back to top
emericklaw



Joined: 19 Jan 2006
Posts: 21

PostPosted: Wed Feb 01, 2006 1:59 pm    Post subject: Reply with quote

Not the selecting of graphs because I have to wait until cigamit puts a hook for saving a graph into the plugin architechture. I have done the graph titles which I will try to release within the next few hours.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Feb 01, 2006 4:06 pm    Post subject: Reply with quote

The new hooks are in the works, should have about 8 more by Thrusday or Friday night and a new release should go out at that time. Got lots of things to do at the moment.

Main extra hold up is that I am adding an internal "Plugin Architecture" version, so that plugins can test against it to ensure that the proper hooks are in place, and so an update plugin can be created to let you know when new plugins versions or architecture versions are released.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Feb 01, 2006 4:17 pm    Post subject: Reply with quote

Man you guys are doing awesome - I can't believe how much this product has grown just since I've been using it!

Cigamit, I sent you an e-mail but never heard back... did you get it and not know what to say or should I resend?
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Feb 01, 2006 4:25 pm    Post subject: Reply with quote

knobdy wrote:
Man you guys are doing awesome - I can't believe how much this product has grown just since I've been using it!

Cigamit, I sent you an e-mail but never heard back... did you get it and not know what to say or should I resend?


What was the subject and the date? I've already answered about 35 today, and almost as many posts, so I go through a lot of email. My spam filter is also kinda strict with the huge amount I've been receiving lately.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Feb 01, 2006 4:54 pm    Post subject: Reply with quote

Sent Jan. 27, subject: Plugin Architecture...

Can resend if you can't find it...
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Feb 01, 2006 5:40 pm    Post subject: Reply with quote

knobdy wrote:
Sent Jan. 27, subject: Plugin Architecture...

Can resend if you can't find it...


Yep, just overlooked it in the crush. Replying now.
Back to top
flavour



Joined: 28 Sep 2005
Posts: 15

PostPosted: Sat Mar 25, 2006 10:57 am    Post subject: Reply with quote

Quote:
I have to wait until cigamit puts a hook for saving a graph into the plugin architechture. I have done the graph titles which I will try to release within the next few hours.


Quote:
The new hooks are in the works, should have about 8 more by Thursday or Friday night and a new release should go out at that time.


Any update on either of these or the rest of the ToDo list?
- this is nice functionality :)

I'd love to get it cycling through the output from Weathermap:
http://wotsit.thingy.com/haj/cacti/php-weathermap/

F
Back to top
twelzy
Cacti User


Joined: 30 Mar 2005
Posts: 74
Location: BRAZIL/Brasilia

PostPosted: Thu Jun 29, 2006 3:23 pm    Post subject: Reply with quote

Hi everybody!

I readed some posts in this topic about the addition of some new features...
Any progress with this plugin?!

Thanks in advance!
(And sorry for my poor English...)
Back to top
r_chetanjain
Cacti User


Joined: 22 Aug 2003
Posts: 70

PostPosted: Thu Jul 27, 2006 7:40 am    Post subject: no option in user administration Reply with quote

Gr8 Plugin......I have some problem i think in installing this plugin.... I can't see any option in the user administration for view cycle graphs... admin user is able to get the cycle tab..but other users can't...can somebody help me on this
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 1, 2, 3, 4, 5  Next
Page 1 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group