Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Manage Plugin 0.6.2 for monitoring networks, servers...

Post by gilles »

Last edited by gilles on Tue Jan 04, 2011 10:40 am, edited 32 times in total.
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

screenshots

Image

Image

Image

Image

Image
Last edited by gilles on Wed Mar 26, 2008 6:40 am, edited 5 times in total.
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

this plugin :
- monitor hosts (like dead host notification in thold plugin)
- monitors TCP services
- alerts (by email, like thold)
- log each event in MYSQL, for reporting



in the future, it will :
- monitor UDP services and windows services
- alert with sound
- alert with local syslogging
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

INSTALL :

you need latest plugin architecture (check readme.txt)
settings plugin is necessary for email alerts

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image
Last edited by gilles on Wed Mar 26, 2008 6:50 am, edited 9 times in total.
r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

Not showing RED Errors

Post by r_chetanjain »

Nice plugin.....to test
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please post a Zip or GZ file, not a Rar.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

Hi gilles,

nice plugin. I get following error while importing manage.sql to cacti db:

Error 1060 at line 2: duplicate column name 'manage'

Manage option is available and after adding my hosts I see no hosts unter manage tab - only message:

0 errors !
ahardman
Posts: 41
Joined: Mon Apr 10, 2006 2:54 pm

suggestions

Post by ahardman »

First of all great layout and a great tool.

I get an error on the full description but it may just be a permission issue

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

Suggestions
1. Make it not so over active :) I downed a host and received 60 messages in a 5 min span.

2. Make it so each hosts can have unique email addresses.

3. Needs a way to add new types of hosts. (access points, phone systems, etc..)

4. Maybe a way to monitor a host by icmp or snmp individually

Thanks for the great plugin!
ahardman
Posts: 41
Joined: Mon Apr 10, 2006 2:54 pm

Post by ahardman »

pumpi after you choose "manage device" you must click on the hostname and set it up for it to appear on the manage page
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

Pumpi wrote: I get following error while importing manage.sql to cacti db:
Error 1060 at line 2: duplicate column name 'manage'
[/b]
manage.sql is provided but you don't need to import it

tables are created via setup.php, wich is called by plugin architecture

you just need to activate plugin manage in cacti config.php and give you permissions to use it

uninstall.sql tries to delete tables after you desactivate manage plugin, if you don't want to use it anymore.
Last edited by gilles on Tue May 30, 2006 2:21 pm, edited 1 time in total.
mories
Posts: 8
Joined: Fri Dec 30, 2005 1:45 pm

Post by mories »

gilles.

Looks great, Windows services would be great.
Keep up the good work.

mories
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

Pumpi wrote: Manage option is available and after adding my hosts I see no hosts unter manage tab

there is 2 methods to add a host :

- individually in Management : Console -> Devices -> (Edit)

Image

- mass method in Manage : Console -> Manage

Image


then, you must configure tcp ports to monitor (like 80 for a web server) :

Image
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Re: suggestions

Post by gilles »

ahardman wrote: I get an error on the full description but it may just be a permission issue

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/htdocs/cacti/plugins/manage/manage.php on line 219
i don't know why you have this error.
maybe you have it when hosts are enabled but no services are configured.
after hosts are full configured and a poller has been run, have you still the error ?

ahardman wrote: 1. Make it not so over active :) I downed a host and received 60 messages in a 5 min span.
poller only alert when host status change.
eventually, if you asked for it, it will mail you, it depends of the event (up, down or reboot).
what is the text of the emails ?
have you 60 alerts for this host in Console -> View alerts ?
try to desactivate emails, if you down this host, are you still receive emails ?

ahardman wrote: 3. Needs a way to add new types of hosts. (access points, phone systems, etc..)
4. Maybe a way to monitor a host by icmp or snmp individually
thanks for your feedback
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

mories wrote: Windows services would be great.
easy to do in vbs or wmi, but users will need a windows box.
i surelly will do it in perl, i just need to see if there is or not ressources to do it in php but i don't think
cigamit
Developer
Posts: 3350
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

gilles wrote:
mories wrote: Windows services would be great.
easy to do in vbs or wmi, but users will need a windows box.
i surelly will do it in perl, i just need to see if there is or not ressources to do it in php but i don't think
You can also pull the Windows Services via SNMP, and whether they are running or not. See my script/template that is running around these forums.

BTW, nice plugin!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests