extreme-walker.git
3 years agoLookup and report a host's vlan when resolving MACs to names. master
David McBride [Wed, 21 Jan 2009 15:03:31 +0000]
Lookup and report a host's vlan when resolving MACs to names.

  * Report which vlan a host should be connected to when resolving
    MAC addresses to names.  At the moment, we pursely guess based
    on the IP address for 146.169.* hosts only.

3 years agoFix DoCRoam comment lookups.
David McBride [Wed, 21 Jan 2009 14:12:06 +0000]
Fix DoCRoam comment lookups.

 * Lookup of user comments for DoCRoam hosts was broken -- we were
   looking at the comment field in the wrong table.

3 years agoAdd HTML output support. Update MAC resolution code.
David McBride [Tue, 20 Jan 2009 16:06:03 +0000]
Add HTML output support. Update MAC resolution code.

  - Add HTML output support.  If the GATEWAY_INTERFACE
    environment variable is defined to something
    containing "CGI", HTML output will be used.
  - Update MAC->name resolution code.  MAC addresses are
    now always listed alongside names.
  - Always output MAC details in addition to EDP link
    information.

4 years agoTeach MAC resolver to lookup hostname aliases and extra host interfaces.
David McBride [Wed, 23 Apr 2008 11:58:51 +0000]
Teach MAC resolver to lookup hostname aliases and extra host interfaces.

Also, drop the CPU task lookups -- they weren't that useful.

4 years agoAdd support for resolving MACs against registered laptops and conference attendees.
David McBride [Tue, 22 Apr 2008 15:51:18 +0000]
Add support for resolving MACs against registered laptops and conference attendees.

We also remove the length limits on neighbour strings; it's better to wrap
long detail than to truncate potentially useful information.

4 years agoChange neighbour support and pretty print, remove ID from output
Matt Johnson [Tue, 22 Apr 2008 14:21:21 +0000]
Change neighbour support and pretty print, remove ID from output

4 years agoMerge branch 'master' into mwj
Matt Johnson [Tue, 22 Apr 2008 14:02:51 +0000]
Merge branch 'master' into mwj

4 years agoFix output, and arrange for only physical ports to be listed in port output
Matt Johnson [Tue, 22 Apr 2008 13:49:08 +0000]
Fix output, and arrange for only physical ports to be listed in port output

4 years agoBUGFIX: compare numbers using ==, not strings
Matt Johnson [Tue, 22 Apr 2008 13:48:29 +0000]
BUGFIX: compare numbers using ==, not strings

4 years agoFix erroneous headers
Matt Johnson [Tue, 22 Apr 2008 13:48:05 +0000]
Fix erroneous headers

4 years agoAdd MAC->hostname lookup support.
David McBride [Tue, 22 Apr 2008 13:45:45 +0000]
Add MAC->hostname lookup support.

4 years agoRemove mibs/.index cache from revision control; populate .gitignore.
David McBride [Tue, 22 Apr 2008 13:31:19 +0000]
Remove mibs/.index cache from revision control; populate .gitignore.

We don't need to maintain mibs/.index under revision control; it will be
automatically generated as necessary.

Add mibs/.index to a new .gitignore file, and add snmp-key whilst
we're at it.

4 years agoFix usage (again related to arity change).
David McBride [Tue, 22 Apr 2008 12:52:29 +0000]
Fix usage (again related to arity change).
(cherry picked from commit f2d35f94dffd15f245b28f419b53c6a178a522fb)

4 years agoFix arity of ARGV after merge
Matt Johnson [Mon, 21 Apr 2008 12:36:57 +0000]
Fix arity of ARGV after merge
(cherry picked from commit 0236c3d008bd1a79b654da4f6871873c40363d00)

4 years agoPackaging necessary MIBs, add MIB directory, add usage.
Matt Johnson [Mon, 21 Apr 2008 09:43:37 +0000]
Packaging necessary MIBs, add MIB directory, add usage.

We want to package the MIBs that are necessary for use to make this a
little more machine-independent. Therefore we use SNMP::addMibDirs to
add "./mibs" to this.

The lack of a usage message was also troubling.
(cherry picked from commit ff8c4a360fe4ea93a546cd86bc8970f26d972ec8)

4 years agoFix rebase screwup
Matt Johnson [Tue, 22 Apr 2008 10:59:18 +0000]
Fix rebase screwup

4 years agoFixing detail...
Matt Johnson [Tue, 22 Apr 2008 10:35:45 +0000]
Fixing detail...

4 years agoFix usage (again related to arity change).
Matt Johnson [Mon, 21 Apr 2008 13:06:53 +0000]
Fix usage (again related to arity change).

4 years agoConvert format() to printf()
Matt Johnson [Mon, 21 Apr 2008 13:06:31 +0000]
Convert format() to printf()

4 years agoFix arity of ARGV after merge
Matt Johnson [Mon, 21 Apr 2008 12:36:57 +0000]
Fix arity of ARGV after merge

4 years agoAdd error checking to the initial connection.
Matt Johnson [Mon, 21 Apr 2008 09:56:11 +0000]
Add error checking to the initial connection.

Rather than banging our head against a brick wall if SNMP isn't up,
do a test request for the sysName -- if we can't get it, assume the
SNMP connection is down and bail out.

4 years agoPackaging necessary MIBs, add MIB directory, add usage.
Matt Johnson [Mon, 21 Apr 2008 09:43:37 +0000]
Packaging necessary MIBs, add MIB directory, add usage.

We want to package the MIBs that are necessary for use to make this a
little more machine-independent. Therefore we use SNMP::addMibDirs to
add "./mibs" to this.

The lack of a usage message was also troubling.

4 years agoAdd MAC address look-up support; optimize SNMP queries using gettable();
David McBride [Mon, 21 Apr 2008 19:47:19 +0000]
Add MAC address look-up support; optimize SNMP queries using gettable();

4 years agoTidy up rendering of table; add special case to map MAXINT to 10G.
David McBride [Mon, 21 Apr 2008 13:11:53 +0000]
Tidy up rendering of table; add special case to map MAXINT to 10G.

4 years agoAdd another table listing current/maximum CPU utilization of switch processes.
David McBride [Mon, 21 Apr 2008 12:40:51 +0000]
Add another table listing current/maximum CPU utilization of switch processes.

4 years agoAbort execution if the SNMP session fails to initialize.
David McBride [Mon, 21 Apr 2008 10:11:25 +0000]
Abort execution if the SNMP session fails to initialize.

4 years agoRead the SNMP key from a file, rather than from the command-line.
David McBride [Mon, 21 Apr 2008 10:08:03 +0000]
Read the SNMP key from a file, rather than from the command-line.

4 years agoAdd MAC address neighbour lookup.
David McBride [Mon, 14 Apr 2008 20:32:39 +0000]
Add MAC address neighbour lookup.

Note that the current implementation simply dumps the
entire MAC FDB from the remote device; this can become
prohibitively expensive and should, ideally, be optimised.

4 years agoAdd EDP support; change Gbyte -> GByte to be consistent.
David McBride [Mon, 14 Apr 2008 18:57:16 +0000]
Add EDP support; change Gbyte -> GByte to be consistent.

4 years agoInitial check-in.
David McBride [Mon, 14 Apr 2008 12:15:54 +0000]
Initial check-in.