Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Moderators, Developers

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

Manage Plugin 0.6.2 for monitoring networks, servers...

#1 Post by gilles » Mon May 29, 2006 12:46 pm

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

#2 Post by gilles » Mon May 29, 2006 12:55 pm

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

#3 Post by gilles » Mon May 29, 2006 12:56 pm

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

#4 Post by gilles » Mon May 29, 2006 12:57 pm

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

#5 Post by r_chetanjain » Tue May 30, 2006 4:39 am

Nice plugin.....to test

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#6 Post by rony » Tue May 30, 2006 9:17 am

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: 256
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

#7 Post by Pumpi » Tue May 30, 2006 10:48 am

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

#8 Post by ahardman » Tue May 30, 2006 10:54 am

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

#9 Post by ahardman » Tue May 30, 2006 10:59 am

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

#10 Post by gilles » Tue May 30, 2006 1:53 pm

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

#11 Post by mories » Tue May 30, 2006 2:09 pm

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

#12 Post by gilles » Tue May 30, 2006 2:18 pm

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

#13 Post by gilles » Tue May 30, 2006 2:47 pm

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

#14 Post by gilles » Tue May 30, 2006 2:55 pm

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: 2786
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

#15 Post by cigamit » Tue May 30, 2006 4:41 pm

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