Mactrack don't find any ip address or mac

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Mactrack don't find any ip address or mac

Post by gabrifolle86 »

Hello,
I've mactrack plugin 2.9 installed on my cacti 0.8.8h

I have add the my router TPLINK Arcer c7 with openwrt to the device, all it's ok and up (snmp and ping) but mactrack don't find any ip address or mac during the scan.

What can I do to have my lan devices as results of the scanning?

Thanks all of you that help me :)
Attachments
Immagine2.png
Immagine2.png (16.24 KiB) Viewed 10369 times
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

Nobody can help me? :(
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

Well, there is a lot to it. You have to provide a valid scanning function for your hardware. I wrote this thing 16 years ago. It still works, but not too many people troll these forums who are users.
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

If it's not a layer3 device, you need to add it's router to Cacti too.
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?
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

TheWitness wrote: Mon Sep 14, 2020 7:19 pm If it's not a layer3 device, you need to add it's router to Cacti too.
Thanks for the reply and congratulations for the plugin, it really has enormous potential!

I don't have layer 3 switches. I would like to scan the devices present in my network and import them into the db once "authorized" in order to make the operation cyclical and thus verify the presence of "new devices".
I added among the devices to be scanned only my router TPLINK arcer c7 (with openwrt) and snmp enabled.

is there anything else i can do?

Thanks again!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

Well, to do the mapping, you need to find a way to get a routers ARP table into MacTrack. There is an Arpwatch integration there if you don't have snmp access into a layer 3 device, but I've never used it.
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?
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

TheWitness wrote: Tue Sep 15, 2020 7:16 am Well, to do the mapping, you need to find a way to get a routers ARP table into MacTrack. There is an Arpwatch integration there if you don't have snmp access into a layer 3 device, but I've never used it.
Sorry, the openwrt firewall is layer 3, so i have a device L3.
So I have added the router with openwrt (with L3 firewall on board)

Or if you can kindly help me with the arpwatch configuration..

What should I do?
Thanks
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

I have also checked that from cacti to my router, I can have all the arptable by snmp:
Attachments
Immagine.png
Immagine.png (23.63 KiB) Viewed 10335 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

Add the router to Cacti, and then to MacTrack, set it's IP Scanning function to the Generic one.
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?
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

TheWitness wrote: Wed Sep 16, 2020 7:38 am Add the router to Cacti, and then to MacTrack, set it's IP Scanning function to the Generic one.
Thanks for the help,
in the device window there's no generic one but only this:
Attachments
Immagine.png
Immagine.png (8.79 KiB) Viewed 10300 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

There are three scanning functions per device type. You need to add the device types for your equipment. Device types are Router, Router/Switch, Switch/Hub.
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?
rebazhama
Posts: 2
Joined: Tue Nov 16, 2021 4:05 am

Re: Mactrack don't find any ip address or mac

Post by rebazhama »

its very difficult
soran.edu.iq
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

Hi everybody!
Anyone still use this amazing plugin? I hope so, because it's a powerful tool to control all the network, it's possible to receive notification when new device connect to the network and allow or not it!!
But I have a problem
I have cacti 1.2.23, php 8.1.2 on ubuntu server 22

I have finally found some ipaddress of my network (whit get_standard_arp_table), but no mac-address!
I have an TPLINK Archer C7 with last Openwrt (22.03) running as layer 3, somebody know what I have to chose as "MAC Address Scanning Function" under Device Type menu?
Apparentely no one works! (the generic, the not applicable and so on)
I really need help to keep monitored my network!
Thanks for any support!
Attachments
MACTRACK.PNG
MACTRACK.PNG (75.26 KiB) Viewed 4739 times
User avatar
gabrifolle86
Cacti User
Posts: 57
Joined: Thu Sep 03, 2020 12:27 pm

Re: Mactrack don't find any ip address or mac

Post by gabrifolle86 »

Nobody can help?
I thought somebody else use this plugin
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Mactrack don't find any ip address or mac

Post by TheWitness »

Spamming in multiple topics is not helpful.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests