Network Management Integration Plugin ( v0.3.9a Build 129 )

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks again. There still appear to be some residual errors when saving a new subnet etc...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Version 0.3.8h should address the log issues. If there are still some left, please post those error messages here :-)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

phalek wrote:Version 0.3.8h should address the log issues. If there are still some left, please post those error messages here :-)
Just tested it - looks good. Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

phalek wrote:Version 0.3.8h should address the log issues. If there are still some left, please post those error messages here :-)
Phalek - the below errors are displayed when editing IP Addresses for data

Notice: Undefined index: username in C:\wamp\www\Cacti\plugins\nmidPhpip\display.php on line 501

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\lib\html.php:585) in C:\wamp\www\Cacti\plugins\nmidPhpip\display.php on line 502
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Error when clicking "Show Unallocated"

Notice: Undefined variable: filter in C:\wamp\www\Cacti\plugins\nmidPhpip\display.php on line 992

Notice: Undefined variable: filter in C:\wamp\www\Cacti\plugins\nmidPhpip\display.php on line 1014
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Please reaplace the display.php file with the attached one.
Attachments
display.tar.gz
(8.55 KiB) Downloaded 309 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks, but the NOTES field does not show populated data (error messages are gone), and you can no longer hide unallocated ranges.

Also, there doesn't appear to be anywhere to set preferences 9as in the original). For example, I don't really want the CLIENT field etc...

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Ok, another small update.

I didn't integrate everything from phpIP, e.g. LDAP/UserID management is missing, Groups aren't there and the preferences are removed.

But by request I added an option in the settings to show/hide the device data.

use the attached archive for replacing the files
Attachments
update.tar.gz
(11.26 KiB) Downloaded 309 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks - I appreciate this.

I know this is somewhat outside of the remit, but would it be possible to add the ability to choose which fields to display, or give the choice to not display the CLIENT field ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I guess you mean the stuff from the preferences menu ?

Until now I focused on fixing problems and make the stuff a bit more stable. I can now go on adding additonal features.

Though it requires some little addaptions to the display.php code :-)
Attachments
nmid_phpip_preferences.jpg
nmid_phpip_preferences.jpg (53.41 KiB) Viewed 6867 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks for that. One thing I have noticed is that I need to add a whole range of IP Addresses that I have assigned for DHCP. As there are over 100, I don't want to do this manually. Is there any way we could have a function that supports bulk import ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

could you provide an example for such an import file ?

I could add a function to the web-serivice for doing this
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Something like

INSERT INTO phpip_addresses (groupid, netid, ip, description, client, notes) VALUES ('1', '1', 'xxx.xxx.xxx.xxx', 'ASSIGNED BY DHCP', 'ASSIGNED BY DHCP', 'ASSIGNED BY DHCP')
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Do you want to have such thing as a one-time manual process, or have an integration into your dhcp server ? e.g. dumping data from dhcp server, importing/syncing it with the nmidPhpIP plugin
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I think that a one-time bulk import would work - I personally only need to see "ASSIGNED BY DHCP" in my lists to know that these addresses are already assigned elsewhere.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests