Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Sat Dec 20, 2014 7:24 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 691 posts ]  Go to page 1, 2, 3, 4, 5 ... 47  Next
Author Message
 Post subject: End Device Tracking Add-On for Cacti
PostPosted: Wed Sep 14, 2005 10:26 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14862
Location: MI, USA
Hello all. I have been working on the following add-on for Cacti 0.8.6g and I would like to know what you all think. Please review the graphs and post.

It is currently running on my production Cacti poller server (and can run elsewhere too) and scans the entire environment (over 1500) access switches, distribution switches, routers and hubs in less than 1 hour.

It currently works against:
1) Any 802.1d SNMP Device Supporting the 802.1d MIB
2) Cisco IOS
3) Cisco Catalyst
4) Cabletron Securefast
5) Cabletron SEHI
6) Any SNMP Enabled Router

Thanks,

TheWitness :o


Attachments:
MacTrackDevices.jpg
MacTrackDevices.jpg [ 166.36 KiB | Viewed 62629 times ]
MacTrackSettings.jpg
MacTrackSettings.jpg [ 175.29 KiB | Viewed 62629 times ]
MacTrackSites.jpg
MacTrackSites.jpg [ 112.71 KiB | Viewed 62629 times ]
MacTrackView.jpg
MacTrackView.jpg [ 169.24 KiB | Viewed 62629 times ]

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 2:02 am 
Offline
Cacti User
User avatar

Joined: Wed Jan 14, 2004 3:23 am
Posts: 256
Location: Germany
:D

What a cool and helpful addon TheWitness !!

Perhaps you can add dedicated support HP Procurve Switch devices ?

Thanks again !


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 4:01 am 
Offline

Joined: Mon Sep 13, 2004 3:06 pm
Posts: 14
Location: Switzerland
Looks very interesting.

I am running a perl-script collecting this information, but it just creates isolated text-files. The integraton into cacti is a brilliant idea.

Zuessi


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 4:02 am 
Offline

Joined: Mon Sep 13, 2004 3:06 pm
Posts: 14
Location: Switzerland
Looks very interesting.

I am running a perl-script collecting this information, but it just creates isolated text-files. The integraton into cacti is a brilliant idea.

Zuessi


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 5:05 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14862
Location: MI, USA
Pumpi,

My todo list to complete the package is 12 items long. Once I chip away at the block a little more, I would be glad to support your procurve stuff.

If I could ask a favor though, could you please send me the sysDescr and sysObject OID's of all your devices in addition, walk the entire OID structure of your switch and shoot me those two files. You can be a pilot tester if you'd like.

It would also be beneficial if you could present a switch to the internet for me to poll with a device or two active.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 5:15 am 
Offline

Joined: Thu May 12, 2005 12:41 am
Posts: 32
Looks great! Where's the download link? :D


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 9:51 am 
Offline

Joined: Tue Oct 19, 2004 12:05 pm
Posts: 25
Location: Oxford, OH
Oh my....

My oh my oh my....

lions and tigers and bears....

sniff sniff....

wow....

consolidated dashboards coming to a cacti install close to you....

Now in seroiusness, I have been a user of Cacti for a year.
The strides that have been made to get the code base under control, create the plug-in api, etc. have finally convinced me to offer services for Beta testing 0.9. I would not have committed if I had not seen the awesome job yin's guys have made. (yes, originally from Pittsburgh, PA.)

CACTI ROCKS SOCKS!

:wink:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 10:13 am 
Offline

Joined: Fri Aug 30, 2002 8:28 am
Posts: 15
This looks excellent!! When will this be available for download?

Thanks,
- Gaurav


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 10:25 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5905
Location: Michigan, USA
Guys, let him finish it already... :)

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 1:38 pm 
Offline

Joined: Fri Aug 30, 2002 8:28 am
Posts: 15
rony wrote:
Guys, let him finish it already... :)


Keeping the pressure on :lol:

_________________
Thanks,
- Gaurav


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 17, 2005 6:58 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Well, looks great, indeed.
I'm looking forward to those cool filtering option shown in the screenshots. But what about the data sampling method? Is it SNMPing around the world? Is ith arpwatch like (but what about routing domains). Will it be possible, to specify IP Ranges/Nets to supress scanning clients?
Sorry for all theses "requirements", but I think the approach will speed up the cacti community!
Reinhard


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 17, 2005 10:11 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14862
Location: MI, USA
Here is the theory of operation.

The success to end device tracking relies on "Sites". These are groupings of switches and intellegent hubs that are served by one or more routers.

The concept is quite simple. Scan all Layer2/Layer1 devices dot1d (and other OID's depending on vendor) for MAC to PortNumber relationships. Avoid all non-user, trunk, and link ports by being smart. Then, for that same sites router(s), grab the ARP table(s). Combine the two and you are done. It works like a charm.

Note: THERE IS NO END DEVICE SCANNING THAT TAKES PLACE AS A PART OF THIS PRODUCT. A nice feature would be to have each sites routers force a "Hello" packet prior to the scan to get all end devices to refresh their respective switches bridge tables.

However, a good practice is to have your routers ARP timeout closely align with the corresponding bridge timers anyway. So, as long as you have a well managed router/switch configuration policy, this should not be required.

As I stated, I am currently running an early Alpha at my location. I am scanning over 1500 switches and routers in less than an hour and returning well over 20k IP addresses and 20k MAC addresses.

As of right now, the user interface is 100% complete with the exception of the "Device Types", which I planned to work on this weekend. Then, I have to work on an install script, documentation, and specifics around the calling of the scanner from the poller along the way.

I don't want to release it too early and then have to appologize later.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 18, 2005 12:52 pm 
Offline

Joined: Fri Sep 16, 2005 7:20 am
Posts: 15
Location: Paris, France
TheWitness,

I like it a lot !

However, I can't help but asking :
- is this supposed to be able to feed a L2 topology map description (like, say, a nice XML format we could parse and then fedd to whatever map-generator we have)
- Once the IPs and MAC addresses are known, is there a way to consolidate thoses belonging to a single physical host manually / automatically using SNMP
- Have you considered using nmap + SNMP on IPs and some rulebase linking results to host templates ? This yould be awesome to automatically have new hosts poping up added to cacti main devices list !
- Generally speaking, what kind of linking/consolidation do you intend to have between the plugin discovered network interfaces and cacti main devices list ?

Anyway, nonwhistanting your answers to previous questions, I volunteer to test it (even in early stage) and help debuging it / extending it with my network router/switches (dell, cisco, 3com).

The screenshots really look promising, but I nedd to see this in action ! (helping to keep the pressure on ;-p)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 3:09 am 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
This looks great. Will this be made like a plugin or a patch to the current working version of cacti?

Michael


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 4:56 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14862
Location: MI, USA
I have discussed this with the other developers and we are going to make it a plugin (although and extensive one) for right now. We'll see how it goes.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 691 posts ]  Go to page 1, 2, 3, 4, 5 ... 47  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group