Pages: [1]   Go Down
Author Topic: Netwok Discovery Layer2  (Read 411 times)
0 Members and 2 Guests are viewing this topic.
gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« on: November 17, 2011, 04:32:21 AM »

How would I go about discovering connected switches ??  Our current network consists of about 50 or so layer2 switches interconnected so its one big flat network.  Is there a way to dynamically map the connections using Pandora without having to manually add the parent links.


Thanks,
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #1 on: November 21, 2011, 05:37:03 PM »

Maybe a Recont Task is what you are looking for
Here is the manual documentation
http://www.openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Recon_Server

I hope this will be helpful for you.

Regards

Logged

gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #2 on: November 22, 2011, 07:42:35 PM »

Thanks Javi  but I have already implemented the recon script but it doesnt seem to dynamically add the parent links even with snmp enabled devices i have yet to see the parent links automatically assigned as described in the capabilities online
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #3 on: November 23, 2011, 09:27:24 AM »

Hi gmonk63,

With which Pandora FMS version are you working?

I guess your recontask is detecting the machines connected into your network in which you are looking for, isn't it?

When managing your recontask, have you checked "Parent detection"?
Have you set the proper number for "Parent recursion"?
Logged

gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #4 on: November 23, 2011, 07:00:44 PM »

Javi,

For now the opensource version.. I have a second demo server with just two layer2 switches connected  so the topology is   PandoraFMS > Switch1 > Switch2   The script is setup for  192.168.0.0/24 the parent recursion is set to 5 and it will still not detect the parent connection between the two
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #5 on: November 24, 2011, 09:32:09 AM »

Hi gmonk63,

I meant which Pandora FMS version, 3.2 or 4.0, are you using? you can check it at the bottom of the page.

For what you just said, I figure Pandora discovers your two switches but doesn't detect the parent relationship, does it?
Does Pandora at least detects your two switches?

Could you please send us a screenshot with your recontask configuration?
Logged

gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #6 on: November 28, 2011, 05:39:33 PM »

Sorry version 4.0  and your correct it does detect the switches but not the parent connection. I have tried both the network sweep and snmp recon tasks and nothing works.


Thanks,


* Pandora-screenshot.jpg (107.74 KB, 1024x739 - viewed 24 times.)
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #7 on: November 29, 2011, 08:47:56 AM »

which nmap version do you use?
you can check it with 'nmap -v'
Logged

gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #8 on: November 29, 2011, 08:25:30 PM »

Javi,

Currently using 5.21
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #9 on: November 30, 2011, 12:48:32 PM »

Hi gmonk63,

Guessing you have one switch (let's call it Switch 1) connected to another switch (Switch 2) and then this one connected to your machine you are working on.

Could you please try to launch this command and post here the output?

Code:
nmap -nsP --traceroute <router_ip>
use the IP of the Switch 1.

You should get the hops (and their IPs) that the command needs to do before reaching Switch 1.

Then you can try to show us the topology you get in your Network Map (Operation > View Agents > Network Map).
If you don't have any map created, just press 'Add map' button, it should create a map with your topology.
Logged

gmonk63
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #10 on: December 06, 2011, 11:52:52 PM »

Javi,


That command only shows the layer three devices .. I really dont think pandora is actually capable of layer 2 discovery I dont see any where in the recon script or elsewhere where there is any layer2 discovery functions. It seems I may have to create a custom script which will query the arp and mac forwarding tables of each switch and assign parent relationship that way .......On another note do you know why snmptraps specifically v2 do not resolve the ip address of the sender  only v1 traps display the sending ip not v2 ???? thanks anyway
Logged

Javi Lanz
Full Member
***

Karma: 1
Offline Offline

Posts: 38



View Profile
« Reply #11 on: December 09, 2011, 01:29:05 PM »

Hi,

Pandora doesn't detect layer 2 devices, yo if your devices doesn't have an IP, it won't be possible.

I'm not sure why v2 snmptraps doesn't resolve the IP, I would say it's a configuration issue for you device.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST