nmidDynTree
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Need to work on this. But I'd like to get nmidDynTree and nmidWeb2 combined, as they both use jquery and also interfere with each other
I'll have a solution for this hopefully end of this week.
I'll have a solution for this hopefully end of this week.
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
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
Re: nmidDynTree
Phalek:phalek wrote:It's an ajax call to the server, so it's actually calling the following URL to get the tree:
http://<server>/cacti/plugins/nmidDynTree/getTree.php
or
http://<server>/plugins/nmidDynTree/getTree.php
try these and check if you do get any data back.
I get the following error when trying to run it!
Code: Select all
Fatal error: Call to undefined function tree_tier() in /usr/share/cacti/site/lib/html_tree.php on line 617
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Use the attached file
- Attachments
-
- html_tree.zip
- (12.68 KiB) Downloaded 260 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
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
Re: nmidDynTree
Sorry I should have read the post from the beginning
I have added
to the Create_dhtm_tree function and it is working great now.....
Thanks
LA
I have added
Code: Select all
global $colors, $config;
include_once($config["library_path"] . "/tree.php");
Thanks
LA
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Now, if you have any issues, please add them to the following page.
http://urbansoftware.kayako.com
That way I can keep track on all the issues with the different NMID plugins in one place
http://urbansoftware.kayako.com
That way I can keep track on all the issues with the different NMID plugins in one place
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
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
Re: nmidDynTree
I have a problem, it runs ok in Firefox blank column on IE...... Anyone has encountered this problem before ?/?
Re: nmidDynTree
to add furthermore to this... the above problem seems to be very wierd. Here at the Office we use ISA Proxy Server (no my choice). When the proxy setting are on, the nmidtree does not load and a blank page is displayed. but, When the proxy setting are not on the Menu loads with no problems.zoemu wrote:I have a problem, it runs ok in Firefox blank column on IE...... Anyone has encountered this problem before ?/?
I know this is a very specific error, but I was wondering if anyone has exporienced this problem.
This proxy issue seems to affect only IE, Firefox works ok with either proxy setting on or off
thanks
LA
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: nmidDynTree
Likely missing a quote around an HTML tag property somewhere.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Going to check this.
Zoemu, can you send me the output of the getTree.php file ? You need to manually call it in your IE browser.
Zoemu, can you send me the output of the getTree.php file ? You need to manually call it in your IE browser.
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
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
Re: nmidDynTree
Notice: Undefined offset: 19 in /usr/share/cacti/site/lib/html_tree.php on line 726 Notice: Undefined offset: 70 in /usr/share/cacti/site/lib/html_tree.php on line 726 Notice: Undefined offset: 90 in /usr/share/cacti/site/lib/html_tree.php on line 726 Notice: Undefined offset: 98 in /usr/share/cacti/site/lib/html_tree.php on line 726 Notice: Undefined offset: 209 in /usr/share/cacti/site/lib/html_tree.php on line 726 Notice: Undefined offset: 216 in /usr/share/cacti/site/lib/html_tree.php on line 726
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Hm, you should at least get back some sort of tree.
I assume you're tree may be a bit "differen" ...
Can you send me a screenshot of the tree and the output of the getTree.php file (using FF) via mail to support @ nmid-plugins.de ?
I assume you're tree may be a bit "differen" ...
Can you send me a screenshot of the tree and the output of the getTree.php file (using FF) via mail 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
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
Re: nmidDynTree
sent!
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: nmidDynTree
Ok, found and fixed the issues and also made the tree truely dynamical.
Tested on Cacti 0.8.7i, but should work in g and h too.
Step 1: Edit include/top_graph_header.php and comment out the treeview javascript:
Step 2: Edit lib/html_tree.php and change/replace the grow_dhtml_trees() function with the attached one.
Step 3: Install version 1.01 of the nmidDynTree plugin
http://redmine.nmid-plugins.de/attachme ... _v1.01.tgz
Tested on Cacti 0.8.7i, but should work in g and h too.
Step 1: Edit include/top_graph_header.php and comment out the treeview javascript:
Code: Select all
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/layout.js"></script>
<!--
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/treeview/ua.js"></script>
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/treeview/ftiens4.js"></script>
-->
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/jscalendar/calendar.js"></script>
http://redmine.nmid-plugins.de/attachme ... _v1.01.tgz
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
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
Re: nmidDynTree
Thanks those changes fixed it....it's working like a charm now
LA
LA
Re: nmidDynTree
Hi
all of the suddden i started getting this error
on nmidDynTree
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
remeber that I'm on windows
all of the suddden i started getting this error
on nmidDynTree
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
NoticeG:\cacti\plugins\nmidDynTree\getTree.php236
remeber that I'm on windows
Who is online
Users browsing this forum: No registered users and 3 guests