[FC] lack of ip addresses
Moderators: Developers, Moderators
[FC] lack of ip addresses
hello all,
i just installed mac track plugin on cacti
and everything work well
but i have, for my devices about 200 mac address but only less than 10 ip adresses (see the attachment)
so lot of my mac address aren't associated to an ip address
i would like to know if it is normal
and if it's not how i can resolve the problem?
if i know how does mac track do to get the ip address i will probably know why i don't have enough ip adresses
i just installed mac track plugin on cacti
and everything work well
but i have, for my devices about 200 mac address but only less than 10 ip adresses (see the attachment)
so lot of my mac address aren't associated to an ip address
i would like to know if it is normal
and if it's not how i can resolve the problem?
if i know how does mac track do to get the ip address i will probably know why i don't have enough ip adresses
- Attachments
-
- MAC-IP Report
- mac-ip.jpg (989.81 KiB) Viewed 11890 times
marion
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Post code and make sure it is "device type" sensitive.
TheWitness
TheWitness
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?
i think there's no problem with the different types of devices
because my solution is:
with "arpwatch" i get all ip/mac correspondences (from all devices of my network)
i put it in mac_track_ips
of course there are many ip/mac addresses that are unuseful
(i do it in get_arp_ip_ranges function of mactrack_functions.php file)
then in poller_mactrack.php in the collect_mactrack_data function
when you do the INNER JOIN with mac_track_temp_ports
all ip/mac addresses that are unuseful disappear
i change a little bit the code of the collect_mactrack_data function:
i added something for the dns in the INNER JOIN
and i change the way of calculating ips_total in this function
summarizing:
1- get all ip/mac correspondence for my network
2- for each device: i have the mac address and i find the right ip address thks to 1-
I don't use the oid so i have no problem with the device type
i add here the files that i modified
the comments are in french
tell me if that is a problem for you
hoping i've been clear enough
because my solution is:
with "arpwatch" i get all ip/mac correspondences (from all devices of my network)
i put it in mac_track_ips
of course there are many ip/mac addresses that are unuseful
(i do it in get_arp_ip_ranges function of mactrack_functions.php file)
then in poller_mactrack.php in the collect_mactrack_data function
when you do the INNER JOIN with mac_track_temp_ports
all ip/mac addresses that are unuseful disappear
i change a little bit the code of the collect_mactrack_data function:
i added something for the dns in the INNER JOIN
and i change the way of calculating ips_total in this function
summarizing:
1- get all ip/mac correspondence for my network
2- for each device: i have the mac address and i find the right ip address thks to 1-
I don't use the oid so i have no problem with the device type
i add here the files that i modified
the comments are in french
tell me if that is a problem for you
hoping i've been clear enough
- Attachments
-
- poller_mactrack.txt
- poller with my modifiactions
- (23 KiB) Downloaded 1175 times
Last edited by mdurand on Thu Aug 31, 2006 2:11 pm, edited 1 time in total.
marion
i found an error in the code i wrote
shame on me
i send you the code corrected
shame on me
i send you the code corrected
- Attachments
-
- mactrack_functions.txt
- (48.23 KiB) Downloaded 1107 times
marion
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
mdurand,
Please check out the latest version of the SVN MacTrack and see if the change I have implemented allows you to publish a vendor specific module for scanning IP's? Please post your response.
Thanks,
TheWitness
The mod essentially allows you to specify both the port scanning function and the IP scanning function on a device type by device type basis.
Please check out the latest version of the SVN MacTrack and see if the change I have implemented allows you to publish a vendor specific module for scanning IP's? Please post your response.
Thanks,
TheWitness
The mod essentially allows you to specify both the port scanning function and the IP scanning function on a device type by device type basis.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
MacTrack SVN 2.0 will now support ArpWatch. Although the approach that I have used is a bit different than yours.
Thank you very much for your assistance.
TheWitness
Thank you very much for your assistance.
TheWitness
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 0 guests