Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
ogiljae
Posts: 19
Joined: Wed Apr 04, 2007 11:15 pm

Re: Manage Plugin 0.5.1 for monitoring networks and servers

Post by ogiljae »

gilles wrote:ALPHA VERSION

ONLY FOR TESTERS

I NEED FEEDBACK

screenshots are in 2nd post

22/04/2007 CURRENT VERSION 0.5.1 :
http://gilles.boulon.free.fr/manage/manage-0.5.1.zip

Old versions :
http://gilles.boulon.free.fr/manage/manage-0.5.zip : 21/04/2007
http://gilles.boulon.free.fr/manage/manage-0.4.2.zip : 30/08/2006
http://gilles.boulon.free.fr/manage/manage-0.4.1.zip : 28/08/2006
http://gilles.boulon.free.fr/manage/manage-0.4.zip : 28/08/2006
http://gilles.boulon.free.fr/manage/manage-0.3.2.zip
http://gilles.boulon.free.fr/manage/manage-0.3.1.zip : 15/06/2006
http://gilles.boulon.free.fr/manage/manage-0.3.zip : 14/06/2006
http://gilles.boulon.free.fr/manage/manage-0.2.zip : 03/06/2006
http://gilles.boulon.free.fr/manage/manage.zip : 29/05/2006

Roadmap : http://forums.cacti.net/viewtopic.php?p=69297#69297
Thanks for your great job..
I am afraided but I cann't creat sites also images of device i listed on device managing manu do not display on Device window..

Please help me
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hello community,

I just wanted to know if version 0.5.1 was stable ?

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

Post by mcutting »

Apart from the SNMP poller (for me anyway), this version is very stable, and has some excellent features.

I have this running in our production environment, and it works like a charm.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

OK, i just upgraded from 0.5.0 to 0.5.1 and when i go to the Misc tab and tell it to check tables this is what i get. What can i do to fix the table errors?

Thanks for the help

app
Attachments
manage.png
manage.png (77.06 KiB) Viewed 4038 times
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Dave96
Posts: 13
Joined: Sat Jan 21, 2006 7:52 pm

Post by Dave96 »

Will it work on PHP5 anytime soon?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

App - look for the 0.5.x upgrade sql file. Paste the contents of this file into phpmyadmin so that this creates the missing tables.
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 »

Dave96 wrote:Will it work on PHP5 anytime soon?
I have this running on PHP 5.2.0 - it works fine.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I actually forgot to post back, i got most of the errors fixed, with the exception of 1. It appeared that i had forgotten to put in the default email address for the notifications. Once i put that in, most of the errors went away. Now the only thing that has an error is:

Code: Select all

Champ 'mail' from table 'manage_host' : 	NOK	(0.5)
Looking forward to the assistance.

Thanks

app

Also, is there any way get some clearer icons for this? What about ones that auto-size? I have a couple of hosts that have MANY TCP ports that are being monitored, and looks like it starts to create a second icon.

Just wondering

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

App - looks like table manage hosts is missing, Can you verify this ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

No, it is there, my existing hosts are still showing up, but when i click on one of them i get an error. Here are the two screen shots.

Thanks.

app
Attachments
I get this error when i click on a host that i am trying to manage.  Look at the bottom of the screen and you will see the error (i circled it)
I get this error when i click on a host that i am trying to manage. Look at the bottom of the screen and you will see the error (i circled it)
ManageError1.PNG (91.71 KiB) Viewed 4001 times
This is the only issue in the Manage table left.
This is the only issue in the Manage table left.
ManageError2.PNG (78.67 KiB) Viewed 4001 times
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

App - You are getting this error because you have tables missing. One of the most important ones is manage_host_services, which is shown as OK (not here)- this actually means it's missing some settings. Insert the following into phpMyAdmin

CREATE TABLE manage_host_services ( id mediumint(8) unsigned NOT NULL default '0', services mediumint(8) unsigned NOT NULL default '0', statut text);
ALTER TABLE manage_host_services RENAME manage_tcp;
INSERT INTO settings VALUES ('manage_global_email', '');

The error message for the mail settings when you choose a device to manage should also go away once these have been applied.

Let me know how you get on.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

I met one fatal error
Fatal error: Call to undefined function: bcmod() in /var/www/html/cacti/plugins/manage/manage_ajax.php on line 601



Host Information

Cacti Version 0.8.6j
Plugin Architecture 1.1
Poller Type Cactid v0.8.6i
Server Info Linux 2.4.21-27.EL
Web Server Apache/1.3.37 (Unix) PHP/4.4.6
PHP Version 4.4.6
PHP Extensions xml, tokenizer, standard, session, posix, overload, mysql, ctype, pcre, apache
MySQL Version 4.1.22-log
RRDTool Version 1.0.50
SNMP Version 5.0.9
Plugins Thresholds (thold - v0.3.2)
Device Monitoring (monitor - v0.7)
Network Discovery (discovery - v0.7)
Network Tools (tools - v0.2)
Update Checker (update - v0.3)
Host Info (hostinfo - v0.1)
rrdclean (RRD Cleaner - v1.2 (Hack Gilles Boulon))
Uptime (uptime - v0.3)
Read-only Devices Tab (devices - v0.4)
Create Aggregate Graphs (aggregate - v0.62)
PHP Network Managing (manage - v0.5.1)
Attachments
manage051.PNG
manage051.PNG (18.23 KiB) Viewed 3961 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

That is a bcmath function. You need the PHP module called bc. Or, Gilles will have to change the bcmod function to use the "internal" modulus function in PHP which is the "%" operator I think.

Therefore:

10 % 10 == 0

and

15 % 10 == 5

TheWitness
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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I agree with Larry. This plugin does not exhibit this error when using PHP 5.x.x - looks like Gilles has written the plugin using PHP5.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's not a PHP5 issue, he has some bcmath call's that were not compiled into this users version of PHP. BCMath is not that popular mainly because it is in the core of PHP now.

I'll take a quick look at his code, although I wanted to get it into the standard format, he's moving to quickly for me to keep up. Maybe it will settle down and I can spend another weekend on it.

TheWitness
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 0 guests