Does nmidphpip plugin work for 8.8a?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

I'm trying to install a IP address management tool into Cacti since it's already set up on a windows machine with IIS. I've put the extracted files into my plugins folder and it this causes all my cacti console to disappear and the error "Can't open file".

What am I doing wrong? Any alternatives to IPAM software?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Does nmidphpip plugin work for 8.8a?

Post by phalek »

Hi

It will run with 0.8.8 but it's not truely compatible.

The error message actually refers to a file called "config.php" within the nmidPHPIP dir. It needs to be writeable.

If it's not there, create it and put this in it:

Code: Select all

<?php $nmidPhpip_tab = FALSE; ?>
save it and make it writeable by your webserver.
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
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

Thanks!
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

nmid.PNG
nmid.PNG (2.34 KiB) Viewed 3080 times
After getting nmid phpip installed and plugin working on Cacti 8.8.a I'm not getting tab for the plugin the page is blank

Anyone run into this before?
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

These are the errors generated from the log when I view the nmid phpip page. Troubleshooting with this information so far.


05/22/2014 08:51:55 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"alter table phpIP_addresses add `isCactiDevice` varchar(2) NOT NULL default '0''
05/22/2014 08:51:55 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"describe phpIP_addresses"
05/22/2014 08:51:49 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"alter table phpIP_addresses add `isCactiDevice` varchar(2) NOT NULL default '0''
05/22/2014 08:51:49 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"describe phpIP_addresses"
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Does nmidphpip plugin work for 8.8a?

Post by phalek »

nmidPphIP requires some additiona code changes to the cacti sources.

http://forums.cacti.net/viewtopic.php?t=26242
http://bugs.cacti.net/bug_view_page.php?bug_id=1222

otherwise you will probably see only a "NMIDphpIP" link on the console :-(
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
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

Tried applying that patch, causes cacti to not load anything >.<. Man wish I knew PHP a bit more new to Cacti as well.
BoatingBot
Posts: 9
Joined: Thu May 15, 2014 4:07 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by BoatingBot »

If I manually type in the url like :http://adnm:8082/cacti/plugins/nmidPhpi ... ummary.php
The pages load.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Does nmidphpip plugin work for 8.8a?

Post by phalek »

I suggest going for the "stand-alone" version of phpip for now: http://www.phpip.net/console.php

I'll probably integrate a newer IP management system to it. phpIP hasn't been developed for several years now.
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
mrossTTX
Cacti User
Posts: 114
Joined: Wed Dec 07, 2022 12:49 pm

Re: Does nmidphpip plugin work for 8.8a?

Post by mrossTTX »

any chance of getting nmidphpip upgraded to work with the newest cacti?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Does nmidphpip plugin work for 8.8a?

Post by TheWitness »

Good Question for Mr. Urban. I hear he's working on a new project... Looking forward to it's culmination.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest