Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


RFC: Webcam Plugin

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements
Author Message
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jul 09, 2008 8:22 am    Post subject: RFC: Webcam Plugin Reply with quote

Here's something I've been toying with in regards to making a plugin, but before I go through all the time to created it, I wanted to see if there was actually any interest in such a thing.

Basically, I've developed a way to embed a webcam with motion sensing ability into Cacti. The camera that I'm currently using is a cheap Logitech Communicator STX that I picked up at a local store for $25.00 It works fine in Linux, but there are some caveats. Installing all the supporting stuff is not for the meek of heart when it comes to Linux. There's a few different things that need to be installed before you're ready to embed the video into Linux.

If there's interest in this, then I'll try to put together a package of all the stuff you'll need in Linux (I cannot say the Windows people will be able to use it). I'll try to write up decent instructions on how to get everything configured and get a plugin written that is usable.

Right now the camera display at the bottom of this post is watching out the front of my office, if there's movement, it captures the movement, sends me an email of the image it captured and logs the information to a database. So you can see it's actually kind of useful. It could be used to watch your server rooms or whatever.

It does have the ability to run more than one camera, as well as watch streams from cameras attached to other machines, or even Ethernet Cameras. Cameras attached to other machines would need to have the supporting software installed, as the plugin, basically just connects to a given video stream.

So if a few of you guys are interested in it, post here with ideas and suggestions and I'll start working on it.



182-20080709091058-10.jpg
 Description:
A screen cap with the motion sensing box around the subject.
 Filesize:  31.82 KB
 Viewed:  2168 Time(s)

182-20080709091058-10.jpg



SP32-20080709-091427.gif
 Description:
Basic view from my office.
 Filesize:  164.48 KB
 Viewed:  2168 Time(s)

SP32-20080709-091427.gif


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12206
Location: Muenster, Germany

PostPosted: Wed Jul 09, 2008 9:18 am    Post subject: Reply with quote

Well, that sounds like magic!
Your plugin ambitions are lifting off like a rocket! Congratulations!
And there's a loud "yes" to your answer. And I'd like you to join us at 3.CCC.eu for a demo of this, that's for sure
Reinhard
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jul 09, 2008 9:23 am    Post subject: Reply with quote

gandalf wrote:
Well, that sounds like magic!
Your plugin ambitions are lifting off like a rocket! Congratulations!
And there's a loud "yes" to your answer. And I'd like you to join us at 3.CCC.eu for a demo of this, that's for sure
Reinhard


Thanks, I'd love to make it to 3.CCC.eu but I won't be able to.

I do have two more plugins in the works as well that N3ncy knows about and we're kind of working on together. There might be another one after that as well.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12206
Location: Muenster, Germany

PostPosted: Wed Jul 09, 2008 9:29 am    Post subject: Reply with quote

Your plugin will make cacti a real "intrusion detection system", won't it?
Reinhard
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jul 09, 2008 10:13 am    Post subject: Reply with quote

gandalf wrote:
Your plugin will make cacti a real "intrusion detection system", won't it?
Reinhard


In version 1.0 of the plugin. Version 2.0 will be an Intrusion Prevention system, with Auto Tracking Full Auto 12Gauge shotguns.
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jul 09, 2008 4:20 pm    Post subject: Reply with quote

Here ya go, first glimpse of a nearly finished plugin. There's a couple more features I'm going to add, but for now it's working.


SP32-20080709-171837.gif
 Description:
Added buttons to change the size of the video viewport.
 Filesize:  163.59 KB
 Viewed:  2111 Time(s)

SP32-20080709-171837.gif



SP32-20080709-171822.gif
 Description:
A view of the capture history read from the database. You can view both video and still's.
 Filesize:  199.43 KB
 Viewed:  2111 Time(s)

SP32-20080709-171822.gif


Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Wed Jul 23, 2008 6:33 pm    Post subject: Reply with quote

Oh that is funny!
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 945
Location: B/CS Texas

PostPosted: Sun Sep 07, 2008 2:33 pm    Post subject: Reply with quote

Next up is to take corresponding data from when a Host goes down and from the motion detection to determine whether a User hit the power button on a server.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group