Remstats Home

  About remstats
  Release Notes
  Configuration Tools

Live Data

Remstats was written by Thomas Erskine at the CRC in Canada and now looking for work.

[Top] [Prev] [Next]



Can't locate in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ../macinfo line 143.
BEGIN failed--compilation aborted at ../macinfo line 143.


This utility shows what is connected to which ports of an ethernet switch. It uses SNMP to query the bridge MIB to get MAC addresses and map them to ports. It then gets mappings from port number to ifIndex and thence to interface names (either ifName or ifDescr). Then it looks in the data from arpwatch, if available, and in /proc/net/dev to get MAC to IP# mappings. Finally, it shows what is on which port.

It's used by macinfo.cgi to make this information available on a web-page, and update-switch-ports to update the descriptions of switch ports with the name of the host on that port.

[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri May 30 13:50:58 PDT 2003 by <>.