nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

nmidWeb2 adds an Web2 interface to the TreeView page, allowing the graphs to be moved around and collapsed. The graph positions are saved in the database on a per user/tree/leaf basis so the next time the user loads that page, the graph will be positioned be where they have been put. ( also when the user changes the computer or browser )

New: Plugin Documentation: http://docs.cacti.net/userplugin:nmidweb2

Update:
The addon can now be downloaded from: http://redmine.nmid-plugins.de/projects ... s/nmidweb2

Important: 3 files need to be replaced. include/top_graph_header.php, lib/html.php and lib/html_tree.php, so make a backup of these files first !!

to install, please follow these steps:

For 0.8.7g:

Code: Select all

cd /path/to/cacti
wget http://redmine.nmid-plugins.de/attachments/download/269/nmidWeb2_files_087g.tgz
tar -xzvf nmidWeb2_files_087g.tgz
mysql -u <cactiuser> -p <cacti db> < nmidweb2.sql
For 0.8.7e:

Code: Select all

cd /path/to/cacti
wget http://redmine.nmid-plugins.de/attachments/download/204/v03_nmidWeb2_087e.tgz
tar -xzvpf v03_nmidWeb2_087e.tgz
For 0.8.7d:

Code: Select all

cd /path/to/cacti
wget http://redmine.nmid-plugins.de/attachments/download/204/v03_nmidWeb2_087e.tgz
wget http://redmine.nmid-plugins.de/attachments/download/205/nmidWeb2_087d_lib_files.tgz.zip
tar -xzvpf v03_nmidWeb2_087e.tgz
tar -xzvpf nmidWeb2_087d_lib_files.tgz.zip
Then enable the plugin via the Plugin Management interface

Comments are welcome
Attachments
nmidWeb2_v3.png
nmidWeb2_v3.png (90.21 KiB) Viewed 31507 times
jquery_portlet_232.png
jquery_portlet_232.png (124.92 KiB) Viewed 37775 times
Last edited by phalek on Fri Nov 05, 2010 3:29 am, edited 15 times in total.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
UpSa
Posts: 3
Joined: Tue Mar 04, 2008 2:01 pm

Post by UpSa »

nice work, looks really nice !
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

hey this is pretty cool. is this going to be a plugiN?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Yes, I'm planing on having this as a plugin
victor_c32
Posts: 19
Joined: Wed Jun 27, 2007 11:31 pm
Location: Rennes , France

cool ....

Post by victor_c32 »

Hello dear phalek...

Can you propose your work for the next version of cacti...
Or perhaps integrate the great Cacti developpers Team ;-)

Victor.
#IBM, 4x Intel Xeon CPU 2.66GHz, 16GB RAM, RHEL5.1, Cacti 0.8.7b, MySQL 5.0.22, PHP 5.2.5
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Post by chrisgapske »

Such a Great idea. I know they are looking to move to AJAX in 0.9.0 but if you started now as a plugin mirroring or building on what Cacti is great it all looks very very nice.
meralias
Posts: 46
Joined: Tue Nov 14, 2006 7:07 am

Post by meralias »

Did you ever go further with this?
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

Hi there,

very nice thing! It reminds me of IPswitch WhatsUp Gold v. 11 (Workspace Views).
I think this is a really hot topic, because you might be able to create your own "Graph Views", or to be more specific, arrange your own Graph-View-Templates.

I might say this is Triple-X-Hot ;) I'll folliow that thread!

brgds
Om Tat Sat
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I'm currently not really have a high focus on that one, although I really like the re-arranging stuff of the graphs.

Unfortunately, I lack the knowledge on how to actually save the "portlet" state correctly ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You should take a look at what we are up to in the Main branch in SVN.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I did read the email ;-)

You told something about extJS there but I didn't have time to take a look at the SVN yet ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

We are using Jquery...

ExtJS license is questionable.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Ok,

Here's a screenshot using JQuery instead of EXTjs ...

It's even easier to do :-)

If you just wouldn't use that many tables ...
Attachments
jQuery_Portlet.png
jQuery_Portlet.png (124.92 KiB) Viewed 37868 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Keep it up man!

Nice work!
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Ok, I now did manage to have the "state" saved. so the graphs stay where they are, even after closing and restarting the browser ...

The state is saved in a cookie, so that different cacti users can have their graphs sorted differently.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests