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:

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

Post by phalek »

I'm going to release a new version that will address the other views, too.
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
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

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

Post by _raindrop18 »

Hello, I have installed nmidweb2.0 on cacti 8.7e and the result was kind of unexpected, I am able to move the graph to any location but the "yellow bar" and "- &+" is not there. that means I can't open or close the graph. i have tested on different browser the result is the same. did i miss anything? or any idea might be? thanks in advance.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

Can you send me the html source of the rendered page to support@nmid-plugins.de ?
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
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

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

Post by _raindrop18 »

thanks for your quick response. i will check if i can send the html source with my manager on the same time. I have found one device out of 400 device currently monitoring on cacti properly showing the yellow bar with +/- everything else none. this is very strange why it's working on one device. when I compare the html source between this one device everything else I have found this " url: "/cacti//plugins/nmidWeb2/updatedb_nmidWeb2.php?user_id=1&tree_id=266&leaf_id=-1", the leaf id is "-1" on all device but on the device display the yellow bar is " url: "/cacti//plugins/nmidWeb2/updatedb_nmidWeb2.php?user_id=1&tree_id=266&leaf_id=1762", not sure if this is a factor but the leaf id -1 on everything else but the one working has a leaf id.
thanks!!
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

this looks like you do not add graphs by using the "host" tree item. The nmidWeb2 plugin actually checks for the leaf-id to be positive as this is one of the primary keys for storing the user preferences into the database.

So in your case you probably would need to create some more sub-tree items.. :-(
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
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

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

Post by _raindrop18 »

ahh :( ..yes u are correct. thanks for u r help
Last edited by _raindrop18 on Mon Feb 14, 2011 1:57 pm, edited 1 time in total.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

Look at the attached screenshot.

Add some headings and add the host underneath them. I think adding the graphs under a heading should also work fine. The URLs should then have a leaf-id > 0 in them.
Attachments
CactiTree.PNG
CactiTree.PNG (30.47 KiB) Viewed 7997 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
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

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

Post by _raindrop18 »

Thanks much! I didn't know that...actually this is an easy way to add the graph on the tree instead of using graphs method. I wish I knew that few month ago when I added thousands graphs this way :x good to know though.
m4rk0
Posts: 4
Joined: Fri Jan 06, 2012 9:32 am

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

Post by m4rk0 »

Hello,

I've cacti 0.8.7g (Debian package)...
After I've extracted nmidWeb2 to /usr/share/cacti/site I get this errors on cacti website:

@console:
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757

@graphs:
Fatal error: Call to undefined function api_plugin_hook_function() in /usr/share/cacti/site/include/top_graph_header.php on line 28
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

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

Post by Atreides »

Hmm, is this nmidweb2 suppose to have a .sql file? I got the latest version but dont have one. I'm asking cause I installed the plugin and nothing happens, its like it doesnt exists.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

This is the file which also contains the sql:

http://redmine.nmid-plugins.de/attachme ... s_087g.tgz

Though it's not really a plugin but more of an addon as it replaces several Cacti original files to get the AJAX/Portlet stuff working.
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
m4rk0
Posts: 4
Joined: Fri Jan 06, 2012 9:32 am

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

Post by m4rk0 »

phalek wrote:This is the file which also contains the sql:

http://redmine.nmid-plugins.de/attachme ... s_087g.tgz

Though it's not really a plugin but more of an addon as it replaces several Cacti original files to get the AJAX/Portlet stuff working.
Palek can You tell me why do I get mentioned errors with 0.8.7g?
Ref: http://forums.cacti.net/viewtopic.php?p=224598#p224598
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

Oh yeah,

Do you have the Plugin Architecture installed ?

and do you have the following line in your config.php file:

Code: Select all

$url_path = '/cacti/';
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
m4rk0
Posts: 4
Joined: Fri Jan 06, 2012 9:32 am

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

Post by m4rk0 »

phalek wrote:Oh yeah,

Do you have the Plugin Architecture installed ?

and do you have the following line in your config.php file:

Code: Select all

$url_path = '/cacti/';
I've added that code before and fixed problem with paths, but I don't think that I've "Plugin Architecture" installed... Because this was distro (Debian) build so no add-ons...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

Post by phalek »

That's a problem then, as the replacement files are only available for Cacti installations which have PIA installed
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