nmidphpip plugin download, where?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

nmidphpip plugin download, where?

Post by rjoshuaw »

One question, where? I feel like an idiot and figure I missed it, but I can't find it to download anywhere? I found the NMID post that references it as a new plugin back in March of '08, but no link???
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

You can download the plugin here:

http://redmine.nmid-plugins.de/projects ... /nmidphpip

at least, when I uploaded it there during this weekend ... :-)
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
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

Am I missing something? :(
Attachments
phpip.jpg
phpip.jpg (59.62 KiB) Viewed 6688 times
aleu
Cacti User
Posts: 216
Joined: Mon Dec 11, 2006 10:17 am

Post by aleu »

phalek wrote:You can download the plugin here:

http://redmine.nmid-plugins.de/projects ... /nmidphpip

at least, when I uploaded it there during this weekend ... :-)
The link works, but I do not see any files available for download. Can you re-upload it again, please?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hm, I thought I said "at least, when I uploaded it there during this weekend" ... which means: I'm going to upload the plugin this weeked. As it is friday it may not yet be available there ...
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
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

I think we both took the 'uploaded' with the past tense of 'ed' to mean this previous weekend. I wondered but..meh. Looking forward to it!!!! I'm tired of excel :P
aleu
Cacti User
Posts: 216
Joined: Mon Dec 11, 2006 10:17 am

Post by aleu »

rjoshuaw wrote:I think we both took the 'uploaded' with the past tense of 'ed' to mean this previous weekend. I wondered but..meh. Looking forward to it!!!! I'm tired of excel :P
Indeed, this is how I understood you, as well. Sorry for bugging you.

BTW. did you ever have a chance to look into detecting wwhether the IP is up or down? This has been mentioned long time ago (like in ipplan)?
Do you know whether it is do-able? I do not like IPPlan because it is too big for my requirements, but I would love to have this feature in phpip.

Thanks,
AL
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

In short: Everything is doable. It's mainly just a matter of time to implement it. Though I'm not sure if phpIP did already implement the up/down stuff ...

Nevertheless, the files are up here:
http://redmine.nmid-plugins.de/projects ... /nmidphpip

nmid_required.tgz needs to be extractd in the main cacti dir
nmidPhpip.tgz needs to be installed like ay plugin (untar in the plugins folder, it needs to be enabled via global.php )

And you also need to change some source code of cacti. look here for details:
http://forums.cacti.net/viewtopic.php?t ... highlight=

Note: I may have missed some files to include in the required file. Please post if you have issues with displaying the IP tree ...
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
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

OK..so I'm not real sure what I'm doing on the code to install it. Can you flesh this out a bit for me?

Thanks,
Raun
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Ok, I checked it out with CactiEz and 0.87c:

Here's what you need to do with the files ( please re-download them as I had to update some things to work correclty):

Code: Select all

nmidPhpip_v02.tgz  extract that one in the plugins directory
nmid_required.tgz  extract that one in the cacti main directory ( eg. /var/www/html/cacti )
v01_html_087c.tgz extract that one in the cacti main directory ( eg. /var/www/html/cacti )

edit the global.php file and add the following line:
$plugins[] = 'nmidPhpip';
If your using another cacti version, you only need to change/edit the lib/html.php file following the feature request from here: http://forums.cacti.net/viewtopic.php?t ... highlight=
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
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

Thanks for the reply, I think I have everything installed correctly or thought I did. I'm running cacti 0.8.7e so I modified the /lib/html.php file as directed and untar'd the necessary files in /cacti and /cacti/plugins

The problem I ran into is the screenshot attached below:
Attachments
Initially after adding a CIDR and the prefix, then clicking on the main nmidPhpip link on the menu
Initially after adding a CIDR and the prefix, then clicking on the main nmidPhpip link on the menu
nmidphpiperror1.jpg (72.68 KiB) Viewed 6279 times
Then if click on the subnets to expand it out and get more detail, you get this issue
Then if click on the subnets to expand it out and get more detail, you get this issue
nmidphpiperror2.jpg (115.04 KiB) Viewed 6279 times
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

Is there a sql file i should be importing into my cacti db?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

no, it seems like i forgot something in the get_data.php file. as you can see in your screenshot it actually lists the networks you added, so the database entries have been added just fine.

Going to check this and upload a fix today
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
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I fixed the errors and need to clean up the php code also adding some more intelligence in it. There's going to be a new version available by tomorrow.
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
rjoshuaw
Posts: 35
Joined: Wed Sep 02, 2009 1:23 pm

Post by rjoshuaw »

Excellent, thank you for the reply
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests