nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
m4rk0
Posts: 4
Joined: Fri Jan 06, 2012 9:32 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by m4rk0 »

phalek wrote:That's a problem then, as the replacement files are only available for Cacti installations which have PIA installed
Is it possible to install that manually?
TommyGun
Posts: 12
Joined: Mon Jul 11, 2011 8:08 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by TommyGun »

How about 0.8.8a support?

I installed v03a_nmidWeb2_087e.tgz first and second nmidWeb2_files_087g.tgz

(Since not all files are in the 087g archive)

But its not working...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

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
edrond
Posts: 1
Joined: Mon Apr 22, 2013 4:59 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by edrond »

Hi!
I have install nmidWeb2 for Cacti 0.88a. I have the same problem as "miky_willis"! :(
What's wrong?
(2x patch + install with PIA)
THX
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

Can you send me a screenshot 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
semakka
Posts: 20
Joined: Mon Oct 23, 2006 6:37 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by semakka »

phalek wrote:A 0.88a version can be found here:

http://blog.network-outsourcing.de/prod ... /nmidweb2/
Hi phalek,

I've got this error:

Code: Select all

root@Ifra-Mngmnt:/var/www/cacti# patch -p1 -N < plugins/nmidWeb2/088a_nmidWeb2_lib_html.patch
patching file html.php
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 33.
Hunk #3 FAILED at 42.
Hunk #4 FAILED at 95.
Hunk #5 FAILED at 108.
Hunk #6 FAILED at 128.
Hunk #7 FAILED at 270.
Hunk #8 FAILED at 328.
Hunk #9 FAILED at 336.
Hunk #10 FAILED at 380.
Hunk #11 FAILED at 404.
Hunk #12 FAILED at 430.
Hunk #13 FAILED at 451.
Hunk #14 FAILED at 461.
Hunk #15 FAILED at 470.
Hunk #16 FAILED at 492.
Hunk #17 FAILED at 608.
Hunk #18 FAILED at 616.
Hunk #19 FAILED at 641.
Hunk #20 FAILED at 700.
Hunk #21 FAILED at 737.
Hunk #22 FAILED at 747.
Hunk #23 FAILED at 775.
Hunk #24 FAILED at 796.
24 out of 24 hunks FAILED -- saving rejects to file html.php.rej
cacti 0.8.8a

regards
Steven
azdaja2005
Posts: 5
Joined: Mon May 13, 2013 3:01 pm

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by azdaja2005 »

I can see that there are no much activity lately in this thread but I only now came to installing nmidWeb2_04.

I'm running Cacti versio 0.8.7g and I managed to find the archive with the suitable plugin version, but unfortunately
it's an archive with the missing updatedb_nmidWeb2.php.

Could somebody please send me the missing file or upload it somewhere for me to download? As far as I could see
the php from the current version is not suitable and gives me errors if I try to use it instead.

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

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

THe archive from this page has it included:

http://blog.network-outsourcing.de/prod ... /nmidweb2/
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
azdaja2005
Posts: 5
Joined: Mon May 13, 2013 3:01 pm

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by azdaja2005 »

Thank for the reply!

I had actually downloaded that package and tried it but than I got some errors in apache log

Code: Select all

[Sat Nov 30 11:09:26 2013] [error] PHP Warning:  include_once(): Failed opening '../../include/global.php' for inclusion (include_path='.') in /usr/share/cacti/site/updatedb_nmidWeb2.php on line 3, referer: http://xxxx/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=121&page=3
[Sat Nov 30 11:09:26 2013] [error] PHP Warning:  include_once(/database.php): failed to open stream: No such file or directory in /usr/share/cacti/site/updatedb_nmidWeb2.php on line 4, referer: http://xxxx/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=121&page=3
[Sat Nov 30 11:09:26 2013] [error] PHP Warning:  include_once(): Failed opening '/database.php' for inclusion (include_path='.') in /usr/share/cacti/site/updatedb_nmidWeb2.php on line 4, referer: http://xxxx/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=121&page=3
[Sat Nov 30 11:09:26 2013] [error] PHP Fatal error:  Call to undefined function db_fetch_cell() in /usr/share/cacti/site/updatedb_nmidWeb2.php on line 26, referer: http://xxxx/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=121&page=3
Comparing the file size of the php from that archive, to the one listed in one of the previous messages I realised they were not the same, so I concluded that the php from the nmidWeb2_04.tgz is not compatible with Cacti 0.8.7g. Maybe I'm missing something else?
azdaja2005
Posts: 5
Joined: Mon May 13, 2013 3:01 pm

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by azdaja2005 »

I fixed the errors by changing paths to the global.php and database.php but obviously
that's not enough since the changes don't get saved.

It looks to me that this new updatedb_nmidWeb2.php expects different database structure
in comparison to the old updatedb_nmidWeb2.php which is to be used with Cacti 0.8.7g...

I still hope someone will provide me the updatedb_nmidWeb2.php compatible with Cacti 0.8.7g.
h4rri
Posts: 11
Joined: Thu Aug 15, 2013 8:34 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by h4rri »

Hi,

I am running Cacti Version: 0.8.8a, Plugin Architecture Version: 3.1 and installed the latest version from your blog. I can see the plugin in the management page, have installed and enabled it but I don't have any setup options or changes to the cacti graphs / layout.

I notice though that I am no longer able to collapse the menu structure on the right (directory tree).

Edited to add:

I am also getting errors when trying to patch the required files:

srv:/usr/share/cacti/site# patch -p1 -N < plugins/nmidWeb2/088a_nmidWeb2_lib_html
-bash: plugins/nmidWeb2/088a_nmidWeb2_lib_html: No such file or directory


Thoughts?
h4rri
Posts: 11
Joined: Thu Aug 15, 2013 8:34 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by h4rri »

Ok, for reference after reading up on 'patch' which is something I have never used:

Changing to the lib directory within Cacti and specifying the .patch files:

srv:/usr/share/cacti/site/lib# patch -p1 < ../plugins/nmidWeb2/088a_nmidWeb2_lib_html.patch
patching file html.php


srv:/usr/share/cacti/site/lib# patch -p1 < ../plugins/nmidWeb2/088a_nmidWeb2_lib_html_tree.patch
patching file html_tree.php
Hunk #1 succeeded at 1251 (offset 67 lines).
Hunk #2 succeeded at 1276 (offset 67 lines).

I know have the moveable graphs but am still unable to collapse my graph trees :)
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

Did you install Cacti via apt/yum or download it and installed from source ?

The plugin will only support Cacti installed from the source available from the cacti.net site
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
h4rri
Posts: 11
Joined: Thu Aug 15, 2013 8:34 am

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by h4rri »

Hi,

I installed this from your blog:

wget
untar

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

Re: nmidWeb2 - Cacti Web 2.0 - v0.3 - 0.8.7g beta out now !

Post by phalek »

I'm referring to the installation of Cacti itself, not the plugin
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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests