nmidphpip plugin download, where?
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
v03 is up, download it and try again with that version
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
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Phalek,
I'd like to remove the side panel so that the tree and resulting address list use all of the screen (looks a bit squashed I think).
Is this plugin calling hooks to include the side navigation bar ? I couldn't see anything obvious in the includes.
Thanks
I'd like to remove the side panel so that the tree and resulting address list use all of the screen (looks a bit squashed I think).
Is this plugin calling hooks to include the side navigation bar ? I couldn't see anything obvious in the includes.
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
it's actually the include statements:
Code: Select all
include("./include/top_header.php"); -> include the sidebar
include("./include/top_graph_header.php"); -> does not include sidebase ( e.g. like the tree view)
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
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Perfect - thanks.phalek wrote:it's actually the include statements:
Code: Select all
include("./include/top_header.php"); -> include the sidebar include("./include/top_graph_header.php"); -> does not include sidebase ( e.g. like the tree view)
Have another error though:
Notice: Undefined index: netaddress in /usr/share/cacti/site/plugins/nmidPhpip/get_data.php on
Any thoughts ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
just a minor error, replace line 104 of the get_data.php file with the following:
that will remove the link on the CIDR dirs, which caused the error.
Code: Select all
$text .= '<li><span class="folder">'.htmlentities($netCidr)."</span><ul>\n";
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
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Perfect - thanks.phalek wrote:just a minor error, replace line 104 of the get_data.php file with the following:that will remove the link on the CIDR dirs, which caused the error.Code: Select all
$text .= '<li><span class="folder">'.htmlentities($netCidr)."</span><ul>\n";
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I uploaded v0.4 which should fix that problem. It also includes the fix for the problem mccutting describes above
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I will provide an updated html file for 087e later this day.
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Well, I think it is actually better to just post the lines that need to be changed.
so, for 0.8.7e it is the following:
line 697 after the following line:
add the following code:
and comment out the original code that was in these lines:
so, for 0.8.7e it is the following:
line 697 after the following line:
Code: Select all
if ((isset($user_realms[$current_realm_id])) || (!isset($user_auth_realm_filenames{basename($item_url)}))) {
Code: Select all
$current_url = preg_replace("/(^\/(cacti\/)?)()/","$3",$_SERVER["PHP_SELF"]);
if (array_key_exists($current_url, $item_title) == true) {
$draw_sub_items = true;
}else{
$draw_sub_items = false;
}
Code: Select all
if (array_key_exists(basename($_SERVER["PHP_SELF"]), $item_title) == true) {
$draw_sub_items = true;
}else{
$draw_sub_items = false;
}
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
Great plugin but I am having a couple of display issues.
First, it is showing my graph tree folder structure above the "All CIDR".
Second, all the prefixes are being displayed for a particular CIDR block. For example, if i have a /16 CIDR block all 256 prefixes are listed, not just the allocated ones. In the screen shot, only 10.1.0.0/24 is allocated.
Thanks,
Paul
First, it is showing my graph tree folder structure above the "All CIDR".
Second, all the prefixes are being displayed for a particular CIDR block. For example, if i have a /16 CIDR block all 256 prefixes are listed, not just the allocated ones. In the screen shot, only 10.1.0.0/24 is allocated.
Thanks,
Paul
- Attachments
-
- display.png (3.24 KiB) Viewed 3858 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
which version are you using ?
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
did you download and install the nmid_required files ?
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
Who is online
Users browsing this forum: No registered users and 2 guests