Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Aug 20, 2017 10:35 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 144 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Fri Dec 17, 2010 12:11 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Fri Feb 11, 2011 10:52 pm 
Offline
Cacti User
User avatar

Joined: Thu Jan 29, 2009 5:52 pm
Posts: 194
Location: US
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.


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 12:58 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Can you send me the html source of the rendered page to [email protected] ?

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 11:39 am 
Offline
Cacti User
User avatar

Joined: Thu Jan 29, 2009 5:52 pm
Posts: 194
Location: US
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!!


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 1:01 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 1:39 pm 
Offline
Cacti User
User avatar

Joined: Thu Jan 29, 2009 5:52 pm
Posts: 194
Location: US
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.

Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 1:44 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
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 5727 times ]

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Mon Feb 14, 2011 2:03 pm 
Offline
Cacti User
User avatar

Joined: Thu Jan 29, 2009 5:52 pm
Posts: 194
Location: US
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.


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Fri Jan 06, 2012 9:35 am 
Offline

Joined: Fri Jan 06, 2012 9:32 am
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Sat Jan 07, 2012 7:11 am 
Offline
Cacti User

Joined: Mon May 31, 2010 9:26 am
Posts: 127
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.


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Sun Jan 08, 2012 6:59 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Tue Jan 10, 2012 6:56 am 
Offline

Joined: Fri Jan 06, 2012 9:32 am
Posts: 4
phalek wrote:
This is the file which also contains the sql:

http://redmine.nmid-plugins.de/attachments/download/269/nmidWeb2_files_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


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Tue Jan 10, 2012 6:59 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Oh yeah,

Do you have the Plugin Architecture installed ?

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

Code:
$url_path = '/cacti/';

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Tue Jan 10, 2012 2:56 pm 
Offline

Joined: Fri Jan 06, 2012 9:32 am
Posts: 4
phalek wrote:
Oh yeah,

Do you have the Plugin Architecture installed ?

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

Code:
$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...


Top
 Profile  
 
 Post subject: Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !
PostPosted: Wed Jan 11, 2012 2:54 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 144 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group