Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
      macinfo
      new-config
      new-ping-hosts
      new-port-hosts
      new-snmp-hosts
      new-unix-hosts
      nt-discover
      pattern-query
      port-query
      remstats-rrdtune
      snmp-get
      snmp-showif
      snmpif-description-updater
      update-switch-ports
  Servers
  Collectors
  Updater
  Monitors
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
  Thank-you
  Index


Live Data

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

[Top] [Prev] [Next]

macinfo

Usage:

Can't locate SNMP_util.pm 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.

Description:

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 <terskine@users.sourceforge.net>.