Remstats Home


  About remstats
  architecture
  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
  at SourceWorks.

[Top] [Prev] [Next]

macinfo

Usage:

Can't locate SNMP_util.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .) 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 mardi 21 novembre 2006, 18:54:34 (UTC+0100) by <terskine@users.sourceforge.net>.