are Mikrotik Routers supported by Mactrack
Moderators: Developers, Moderators
are Mikrotik Routers supported by Mactrack
is Mactrack able to extract IP and Mac Address from Mikrotik Routers
Cheers
Lloyd
Cheers
Lloyd
Re: are Mikrotik Routers supported by Mactrack
Hi,
I have 8 sites with the Same Mikrotik routers, All the same firmware.
One of the Routers correctly reports MAC addresses and IPs the other 7 do not.
The routers all have the same SNMP settings (checked this about 100 times)
The other 7 sites will report the number of IPs but not MAC and the IP data will not appear in the MacTrack reports.
Any suggestions on where to start to debug this?
I have 8 sites with the Same Mikrotik routers, All the same firmware.
One of the Routers correctly reports MAC addresses and IPs the other 7 do not.
The routers all have the same SNMP settings (checked this about 100 times)
The other 7 sites will report the number of IPs but not MAC and the IP data will not appear in the MacTrack reports.
Any suggestions on where to start to debug this?
Re: are Mikrotik Routers supported by Mactrack
I have been trying to isolate this a bit more..
running mactrack_scanner.php with debug
The Router which is reporting correctly....
shows all the Mac Address
php /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=26 -d
<snip>
INFO: HOST: 192.168.88.1, TYPE: RouterOS RB1200, TOTAL PORTS: 10, OPER PORTS: 3
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:04:F2:14:02:F3
...
DEBUG: INDEX: '24' MAC ADDRESS: F0:79:59:3E:16:E9
DEBUG: Port mac address information collected.
DEBUG: Scanning function is 'get_standard_arp_table'
The Router which does not report MAC address details...
php /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=30 -d
<snip>
INFO: HOST: 10.1.100.1, TYPE: RouterOS RB1100AHx2, TOTAL PORTS: 13, OPER PORTS: 12
DEBUG: Port number information collected.
DEBUG: No user ports on this network.
DEBUG: Scanning function is 'get_standard_arp_table'
So looks like the way the Routers have been setup?
suggestion welcome
Lloyde
running mactrack_scanner.php with debug
The Router which is reporting correctly....
shows all the Mac Address
php /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=26 -d
<snip>
INFO: HOST: 192.168.88.1, TYPE: RouterOS RB1200, TOTAL PORTS: 10, OPER PORTS: 3
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:04:F2:14:02:F3
...
DEBUG: INDEX: '24' MAC ADDRESS: F0:79:59:3E:16:E9
DEBUG: Port mac address information collected.
DEBUG: Scanning function is 'get_standard_arp_table'
The Router which does not report MAC address details...
php /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=30 -d
<snip>
INFO: HOST: 10.1.100.1, TYPE: RouterOS RB1100AHx2, TOTAL PORTS: 13, OPER PORTS: 12
DEBUG: Port number information collected.
DEBUG: No user ports on this network.
DEBUG: Scanning function is 'get_standard_arp_table'
So looks like the way the Routers have been setup?
suggestion welcome
Lloyde
Re: are Mikrotik Routers supported by Mactrack
OK so this is starting to make some sense now.
MacTrack does not report on Trunks, only user Ports.
The Router that is returning correct data has no managed switches at the site.
The other sites all have HP V1910-48G Switches
So it turns out the switch it the problem.
DEBUG: No user ports on this network.
the adventure continues.
Lloyd
MacTrack does not report on Trunks, only user Ports.
The Router that is returning correct data has no managed switches at the site.
The other sites all have HP V1910-48G Switches
So it turns out the switch it the problem.
DEBUG: No user ports on this network.
the adventure continues.
Lloyd
- gabrifolle86
- Cacti User
- Posts: 57
- Joined: Thu Sep 03, 2020 12:27 pm
Re: are Mikrotik Routers supported by Mactrack
Hi Lloyde!lloyde wrote: ↑Sat Apr 11, 2015 9:08 pm OK so this is starting to make some sense now.
MacTrack does not report on Trunks, only user Ports.
The Router that is returning correct data has no managed switches at the site.
The other sites all have HP V1910-48G Switches
So it turns out the switch it the problem.
DEBUG: No user ports on this network.
the adventure continues.
Lloyd
maybe I have a probleam like you
I have a TPLINK router arcer c7 with openwrt on board.
When I debug the mactrack scan it result: "No user ports." infact mactrack don't find any IP address or MAC.
How you have fixed the issue? What can I do on my router to make mactrack able to find all the ip/mac address of my lan?
I have only Hub linked from my router, no other managed switch
Thanks!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: are Mikrotik Routers supported by Mactrack
I'm doing some updates to MacTrack and I have my MikroTik RouterOS and SwOS being collected just fine using the 'generic' functions. I'll probably release it as 5.0. It's important to note that you need both a L2 Switch es and L3 Switches or Router to perform the association.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- gabrifolle86
- Cacti User
- Posts: 57
- Joined: Thu Sep 03, 2020 12:27 pm
Re: are Mikrotik Routers supported by Mactrack
great! that's a good news!TheWitness wrote: ↑Wed Sep 16, 2020 7:02 am I'm doing some updates to MacTrack and I have my MikroTik RouterOS and SwOS being collected just fine using the 'generic' functions. I'll probably release it as 5.0. It's important to note that you need both a L2 Switch es and L3 Switches or Router to perform the association.
Please try to fix also the problem of deleting device (not working)
Thanks!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: are Mikrotik Routers supported by Mactrack
Log it on github first.gabrifolle86 wrote: ↑Wed Sep 16, 2020 11:11 amgreat! that's a good news!TheWitness wrote: ↑Wed Sep 16, 2020 7:02 am I'm doing some updates to MacTrack and I have my MikroTik RouterOS and SwOS being collected just fine using the 'generic' functions. I'll probably release it as 5.0. It's important to note that you need both a L2 Switch es and L3 Switches or Router to perform the association.
Please try to fix also the problem of deleting device (not working)
Thanks!
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest