Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

some request for improving manage plugin

Post by pepj »

Hi Gilles

Could you check if you can add these requests:
1/ when I open a device the fields "TCP Ports
This will be ignored if you select a template." is:
- always empty
- editable (like in 0.82) and not only changeable through template-port
2/ if device use a template-port, this information should be kept in the device
3/ when the "template-port" is changed, all the devices using this template should be changed (ports) (when changing the name and you choose no changement in the device, see 4/)
4/ possiblity to see in the device list when no site or groups or no template
5/ the selection in manage_list are not kept ("Type", "Apply to host(s)")
6/ add a manual search with keyword (like mac_trac)
7/ in list view "manage.php?simple" change the ident because when there are few ports we cannot see directly the state of the ports because these appear at the right.
8/ possibility to check "Http health check" (I have add it in the pugin-Network Tools). I add my function as attachement and also the modified tools.php of "network-tool"-plugin.

Thanks for your great plugin :lol:
Attachments
healthcheck-addon.txt
"Http health check" basis function
(1.39 KiB) Downloaded 243 times
tools.zip
modified tool.php of 2network-tools"-plugin
(2.41 KiB) Downloaded 201 times
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Re: Ho to Go about using this.

Post by chrisgapske »

jayendra.dhamdhere wrote:I ve extracted into plugins folder.not imported the sql files.but when i create site its not saved.
On the otherhand,if i do a manual import of sql,it adds sites.but againg am not able to view the devices correctly.in any view type.it only shows the upper thin line.


I think you are missing php-bcmath. It is the one thing that manage needs that I don't think is mentioned.
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Cacti Version 0.8.7

Post by chrisgapske »

I believe this plugin will need an update to its config as currently references the config.php file for information and database informaton. I think it will need to look to both config.php& global.php. I am not sure of the correct way of going about this.


if(is_file('./include/global.php')) include_once('./include/global.php');
else include_once('./include/config.php');




I also edited manage_check.php to include both global.php and config.php


When tryed to run this manualy I had an error on line 40 or manage_check.php.

it was
$gg = $argv[1];

I am not sure what that does not being a programmer. when I commented it out the whole thing ran and does not seem to produce an error but I am sure it was there for a reason. Just not sure what it is.
Last edited by chrisgapske on Tue Oct 09, 2007 7:27 am, edited 1 time in total.
jahis
Posts: 2
Joined: Thu Oct 19, 2006 9:03 am
Location: Geneva/Switzerland

Post by jahis »

Hello everybody,

I installed manage plugin and I have this problem:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/cacti/plugins/manage/manage_ajax.php on line 1127.

I checked my tables, everthing was ok and I checked that bcmath was enabled and it was ok too.



Sorry for my poor english.


Edit:
Something strange happened, I deleted the telnet check on all router then I activated it on a new router and I doesn't have any more this error.
Attachments
Image 1.png
Image 1.png (14.17 KiB) Viewed 6569 times
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Post by nduda78 »

User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Support for this plugin.

Post by chrisgapske »

I am just wondering if Gillis is ok or did he fall off the face of the map?


If the manage plugin is going anywhere or does it need to get picked up by sombody. ??
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Post by nduda78 »

Can this be made to work for linux cacti installs? or a plugin like this.
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Linux

Post by chrisgapske »

nduda78 wrote:Can this be made to work for linux cacti installs? or a plugin like this.

I am using it on a linux based cacti install.
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Re: Linux

Post by nduda78 »

chrisgapske wrote:
nduda78 wrote:Can this be made to work for linux cacti installs? or a plugin like this.

I am using it on a linux based cacti install.
ok maybe i should read beyond page one and/or the attached files that contain all the exe binaries...i assumed this was windows based.
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Re: Linux

Post by chrisgapske »

It is a really nifty plugin. I had alot of trouble getting it going and so did many but once you get it where you want it. It is pretty nice.
There are a few things it need to be 100% At least I think but it is pretty nice.


nduda78 wrote:
chrisgapske wrote:
nduda78 wrote:Can this be made to work for linux cacti installs? or a plugin like this.

I am using it on a linux based cacti install.
ok maybe i should read beyond page one and/or the attached files that contain all the exe binaries...i assumed this was windows based.
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Re: Linux

Post by nduda78 »

i get a ton of errors about manage_ajax and manage.php stuff.

I'll go over this forum, but I did perform some stuff in the first couple pages and no go.

I dont think the sql imported properly, and when i try to redo it manually or even the uninstall.sql it gives errors about tables found or not found.



chrisgapske wrote:It is a really nifty plugin. I had alot of trouble getting it going and so did many but once you get it where you want it. It is pretty nice.
There are a few things it need to be 100% At least I think but it is pretty nice.


nduda78 wrote:
chrisgapske wrote:
I am using it on a linux based cacti install.
ok maybe i should read beyond page one and/or the attached files that contain all the exe binaries...i assumed this was windows based.
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Re: Linux

Post by chrisgapske »

I hate to say this but I had to several times rip out and rebuild the tables. I still get an error message once and a while listed on page 37 of this topic. but than I manualy added them all back in and it seemed to work just fine.

do you have php math installed ? that is required for the ajax to work.

nduda78 wrote:i get a ton of errors about manage_ajax and manage.php stuff.

I'll go over this forum, but I did perform some stuff in the first couple pages and no go.

I dont think the sql imported properly, and when i try to redo it manually or even the uninstall.sql it gives errors about tables found or not found.



chrisgapske wrote:It is a really nifty plugin. I had alot of trouble getting it going and so did many but once you get it where you want it. It is pretty nice.
There are a few things it need to be 100% At least I think but it is pretty nice.


nduda78 wrote: ok maybe i should read beyond page one and/or the attached files that contain all the exe binaries...i assumed this was windows based.
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Post by nduda78 »

I got everything working...i just needed to focus on it. It appears that the mysql table setup isnt really all that good with this plugin. It required me to dump the tables a couple times and starting over with the plugin. It works now, all is good.....now to figure out how this is any better then the plethura of other Cacti addons i have :)
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Post by chrisgapske »

nduda78 wrote:I got everything working...i just needed to focus on it. It appears that the mysql table setup isnt really all that good with this plugin. It required me to dump the tables a couple times and starting over with the plugin. It works now, all is good.....now to figure out how this is any better then the plethura of other Cacti addons i have :)

It allows you to put things in a group to view that is nice .. It would also be nice if thold worked with permissions. :)
you.face
Posts: 2
Joined: Thu Nov 01, 2007 9:54 am
Location: china

Re: Manage Plugin 0.5.1 for monitoring networks and servers

Post by you.face »

cacti user!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests