Hello , I have a big network and I want to know how the devices are connected to each other(by lan\Wlan) is there any way to do this? automatically? when I do this on the Dude - It's doesn't understood is there maybe an OID about it? I'm adding a schematic of a simple network (I have 10 devices -here there is only 1) thank you !
Please read the user manual if you have never used SNMP or the dude before. This tool can easily over run the CPU on your network equipment if you get it setup wrong.
First until there is a good understanding of how Devices and Probes are automatically added do not use auto-discover.
Manually add a device, make sure they both contain the same SNMP Community. Add a link between devices, select SNMP in the link settings, Pick the device and the link you want to monitor between the devices.
As an example your router board 10.0.0.1 and your computer 10.0.0.198, double click the link between them, in Device select RB133, in Mastering select snmp, in Interface select the Interface on your RB133 that is connected to your computer, leave Speed blank, in Type select fast ethernet.
Please read all this stuff has been posted many times.
Either that MIB is not populated or that device doesn't support that OID or you don't have SNMP setup correctly. It is not the same OID on every device.
The long answer... If you have SNMP working you can right click on a device and use snmpwalk under the tools menu. When you open the tree view you will see which OIDs are available on that specific device. The standard for SNMP is an International Standards Organization (ISO) which specifies what values are stored in which OID. This is called a Management Information Block. There are a bunch of MIBs that are mostly extensions of the Internet Management MIB since there is a vendor specific area inside the ISO Internet Management MIB.
The dude comes with the Internet Management MIB and quite a few vendor specific MIBs. You can add others if you need to. The internet management MIB starts at 1.3.6.x. It is actually MIB-2 and as I said there is a vendor OID inside that which starts at 220.127.116.11.4.1.x. Cisco registered with the ISO and was given 9 so 18.104.22.168.4.1.9. is Cisco. Since the Dude automatically reads any OID under 1.3.6.x you do not need to add a MIB file that describes anything under that although if you do you will see the name of the OID instead of the number.
ISO Internet management mib-2
isosnmp.png [ 10.15 KiB | Viewed 1573 times ]
Vendor specific area, you can see I added the Cisco mib since you see the name instead of 22.214.171.124.4.1.9.x.x.x.x.x...
enterpries.png [ 14.16 KiB | Viewed 1573 times ]
There are other ISO MIBs (not Internet management-2 MIB) I would recommend never adding a MIB unless you know exactly why you are adding it. Also you almost never need to know the name of an OID you are wanting to use, just use the #.
So with out any changes to the dude every OID will start with 1.3.6. but the SSID will be under a vendor area. Cisco's SSID is stored at 126.96.36.199.188.8.131.52.2184.108.40.206.220.127.116.11.X and since you can have multiple SSIDs x increments with each SSID.
snmpoid.png [ 7.67 KiB | Viewed 1573 times ]
Also you can see all the MIBs in the Mib Nodes panel. [url]wiki.mikrotik.com/wiki/Manual:The_Dude/MIB_Nodes[/url]
now maybe I'm an idiot (it is possible) . so let me tell you what I did - and maybe it will be easier: 1. I have 2 routers RB433 2. both of them are in v5.7 3. I made a simple Wireless connection between them. 4. the SNMP is: IP-SNMP-SNMP Setting - enable Contact:me Location:here Engine ID:none Trap target: 0.0.0.0 Trap community:Public Trap Version:2 Trap Generators:none it's mean that both of them are the same ,right? in the one that is connected to my computer I see this OID Users:[oid("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlApTable.mtxrWlApEntry.mtxrWlApClientCount.2")]
in the far away device - I don't see (the same OID)
So I need to go OID after OID to find where is the number of connection in wireless for each device? and if I have 100 devices?
I don't have RB but this should help a bit. So the dude is one of the best object oriented programs I have seen. Many of the objects are accessible at many levels. A device label is a good example of this. The label can be modified on the device, on the map and globally. Unfortunately the label is not modifiable on the device type (feature request?). So if you want "[users()]" on the label of every wireless access point, like I did, you should make one map that only has wireless access points on it then put the label on the map (every device should have the same users oid) If you put it on the global settings every device would try to display the label.
All devices of the same type have the exact same OID for the same object. For example system uptime is exactly 18.104.22.168.22.214.171.124.0 on every device that supports internet mib-2. Same goes for MikroTik if MikroTik put wireless users at iso.org.dod.internet.private.enterprises.mikrotik.whatever... it is their OID and it is the same on every Mikrotik RB.
Note: MikroTik can make a newer model with a different OID for wireless users but notice it would cause more work to create and track so why should they?
1. I put the same OID and still don't get the same answer , maybe the problem is time of the OID? or something like this?
2. I'm trying to use RS_Command - [(ros_command("/interface wireless registration-table print " ))] - and again sometime I get answer, and sometime I get nothing. maybe I do something wrong? in the config of the time or something like this? where can I check it?
Hi, is there a way to monitor link status? I mean, on Dude I can easily monitor Camera (10.0.0.102) and RCU2000-1 (10.0.0.101), but I can reach Camera through RCU2000-1 or (network?) 10.0.0.0. I would like something alerting me if link RCU2000-1 to Camera would be down even if Camera would be reached from network 10.0.0.0 (instead monitoring link speed). Is it possible? Thanks
Users browsing this forum: No registered users and 5 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