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 »

Still doesn't work. I can't see the sub menus under NMID phpIP. Also, the URL when clicking this link adds an additional /cacti in the path.

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:array ? what array ??
The menu array in setup.php that is referred to several times in this post.
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 download my latest code (just uploaded it). I think the version you use had this behaviour.

The setup.php contains everything that is needed to run phpIP.

I'm just struggling with users running cacti within a sub-dir of the webserver ( http://server/cacti/ ) instead of the root ( e.g. http://cacti.urban-software.de/ )
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Phalek,

I can now see the submenus (thanks), but get the below errors at the top of the page

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 137

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 138

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 139

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 140

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 141

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\Cacti\plugins\nmidPhpip\display.php:111) in C:\wamp\www\Cacti\include\global.php on line 145


Any ideas ?

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 »

Also get errors when adding new CIDR and Prefixes

Notice: Undefined variable: RowClass in C:\wamp\www\Cacti\plugins\nmidPhpip\prefix_add.php on line 187

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 »

Errors on CIDR Description:

Notice: Undefined variable: RowClass in C:\wamp\www\Cacti\plugins\nmidPhpip\cidr_desc.php on line 114

Notice: Use of undefined constant NetCidrDescription - assumed 'NetCidrDescription' in C:\wamp\www\Cacti\plugins\nmidPhpip\cidr_desc.php on line 122

Notice: Use of undefined constant NetCidrDescription - assumed 'NetCidrDescription' in C:\wamp\www\Cacti\plugins\nmidPhpip\cidr_desc.php on line 122
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 »

Sorry - more errors in Subnet Summary:

Notice: Use of undefined constant NetCount - assumed 'NetCount' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 35

Notice: Use of undefined constant netaddress - assumed 'netaddress' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 44

Notice: Use of undefined constant NetTotal - assumed 'NetTotal' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 54

Notice: Use of undefined constant Used - assumed 'Used' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 57

Notice: Use of undefined constant netaddress - assumed 'netaddress' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 44

Notice: Use of undefined constant NetTotal - assumed 'NetTotal' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 54

Notice: Use of undefined constant Used - assumed 'Used' in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php on line 57

Notice: Undefined variable: RowClass in C:\wamp\www\Cacti\plugins\nmidPhpip\subnetSummary.php
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 »

The error message occurs as the phpIP plugin sends out headers before global.php has a chance to. I need to have a closer look into this, but for the moment it doesn't harm cacti or the phpIP plugin.

seems like i forgot to put some '' around the names :-)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Could you tell me where these go ? Would like to have it looking "clean" :D
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 »

Hi mcutting,

I'm going to fix those and publish a new version. I'm using a subversion system for programming so I'd like to have it in there, too.

Not sure where to put all the stuff, I simply took the phpIP source code and made it "cacti-compatible", which means I removed some code and added other (especially for the database connection stuff).

I probably just have to change the code order ( put the global.php file further up). For the constant stuff, that might relate to some of the sql code, but I'm not sure yet.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I managed to find all(most?) of those minor errors which caused the log to be filled. Version 0.3.8f should solve those.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Excellent - could you post this, as I like what I see so far, and would also be willing to contribute to coding etc...

Regds
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 just uploaded it ( see my very first post )
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

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 »

Updated to 0.3.8g
  • fixed the IE bugs in nmidTaskManager
  • removed log error from nmidTaskManager
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest