• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Net-SNMP Airport Base Station monitoring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Net-SNMP Airport Base Station monitoring


  • Subject: Net-SNMP Airport Base Station monitoring
  • From: Nicolas Dube <email@hidden>
  • Date: Wed, 14 Jan 2004 09:46:05 -0500

Hi all,

Although I'm a macnetworkprog list newbie, I think I might have some interesting info on Net-SNMP and the Airport Base Station Monitoring.

Configuration: MacOS 10.3.2, Xcode 1.1, Airport Extreme Base Station.

First, Net-SNMP. I used Net-SNMP 5.0.9 downloaded from sourceforge and builded the binairies. To achieve that, I followed the instructions in the INSTALL file. I tried to build Net-SNMP 5.1 a couple of times, but without success. I corrected the disk.c error but then I banged into a couple of less obvious compiling errors. Even with 5.0.9, I never managed to build the Perl module SNMP.pm (any help in this regard would be greatly appreciated).

I then used the utility apps bundled with Net-SNMP distribution. You can follow these instructions for more details:
http://www.net-snmp.org/tutorial-5/commands/

I got my first but limited success with this command:
$ snmpwalk -v 2c -c public <ip address of abs>
SNMPv2-MIB::sysDescr.0 = STRING: Apple Base Station V3.84 Compatible
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::zeroDotZero
SNMPv2-MIB::sysUpTime.0 = Timeticks: (4481885) 12:26:58.85
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: BCMnet
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 79
SNMPv2-MIB::sysServices.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

Then I tried to figure out how the abs was using the password passed in airport base setup utility. I found it, it's used as the community string!

So, by using this command, you can get a load of information:
$ snmpwalk -v 2c -c <abs password> <ip address of abs>

You can also limit the information showed by using a keyword like this:
$ snmpwalk -v 2c -c <abs password> <ip address of abs> system (will show basic information)
$ snmpwalk -v 2c -c <abs password> <ip address of abs> if (will show information related to interfaces)
$ snmpwalk -v 2c -c <abs password> <ip address of abs> route (will show information related to routes)

Now I'm trying to figure out how to use the MIB downloaded from http://docs.info.apple.com/article.html?artnum=120227

I'm not able to load ABS MIB even if it is in my $home/.snmp/mibs/ and I'm using a command like this:
snmpwalk -m +AIRPORT-BASESTATION-3-MIB -v 2c -c <abs password> <ip address of abs>

Enabling this MIB would give us the information related to the wireless and dhcp aspects of the ABS. Anyway, I'm throwing this in, if you guys, find out how to use it, please tell me... ;)

That's it for now, I'll post if I make any progress...

Nicolas Dube
Laval University, Quebec
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Net-SNMP Airport Base Station monitoring
      • From: Robert MacGregor <email@hidden>
  • Prev by Date: Re: Apple's position on NKEs (was "Re: Basic Question: Internet Content Filter")
  • Next by Date: Re: Apple's position on NKEs (was "Re: Basic Question: Internet Content Filter")
  • Previous by thread: socket.h on Panther
  • Next by thread: Re: Net-SNMP Airport Base Station monitoring
  • Index(es):
    • Date
    • Thread