RE: SNMP On Nokia M1122 (Yes!)
From: Regan Murphy <regan.murphy_at_oasystems.co.nz>
Date: Wed, 4 Sep 2002 10:47:18 +1200 Message-ID: <A4C042FF77ABFA4BAAF465910AA06B2B054C@sabre.oasystems.co.nz>
Last I looked, there were a few 1122's left at dick smith for a
TradeMe sounds expensive!!
-- Regan Murphy. -----Original Message----- From: Neil Gardner [mailto:neil@neilnz.com] Sent: Tuesday, 3 September 2002 9:32 p.m. To: adsl@lists.unixathome.org Subject: SNMP On Nokia M1122 (Yes!) Well guys - I finally caved and bought an M1122 from TP (They had one last shipment in). If anyone offers me a cheap M1122 now, I shall kill you.. I looked for a second hand one for a couple of months and the cheapest on Trademe are now getting up to $465!!! ANYWAY - A few weeks ago I was using a Cisco 827 and got MRTG going on my XP machine without toooo many stoopid dramas. I had to give the 827 back and used a basic windows box for a while with an ni200, and then yesterday got an M1122... First thing I did was find out about MRTG / SNMP on the M1122, and the general concensus was "Nope, not in any release firmware, and even then, it's broken"... SO.. 1) Find Alex Kings instructions on getting it working under Linux 2) DL, install and configure Expect for NT. Got it working fine. 3) DL, install and configure Awk. Got it working (apparently) fine. 4) Spend many frustrating hours trying to get AWK to work properly. Found 2 major problems. A) Alex King's details are from a Telecom M1122, it has 2 pvcs in it. Easy enough B) Either awk95 or expect are broken / don't use the same eol delimiters so screws being able to use AWK in the way Alex describes. 5) Download, install and LEARN how to start using Perl. 6) Discover PERL is easier than falling off a log and in 5 minutes write comething to take the expect output and give exactly what Alex got from his piped expect | awk |awk. 7) Celebrate by having dinner 8) Decide to see if I still have MRTG configured on this machine. Have a look at the bloody pages and discover that ever since I plugged the M1122 in a day previously, it _HAS_ been talking to the M1122 over SNMP and getting something out of the damn thing! 9) Investigate further and discover that the M1122 DOES in fact support SNMP out of the box and it's only slightly broken. (Standard reporting interfaces = 0 - easy fixed) 10) Try to understand why I didn't actually try this myself first and instead relied on the websites all saying the M1122 didn't support SNMP. Anyway - I still have one issue - the numbers that the M1122 seem to be reporting are wrong by lots... I imagine that after I let it stabilise, it'll turn out to be out by a factor of 8, 16, 128, 256 or 1024. Anyone know for sure (Octets reported in the M1122 pages) Anyway - if anyone wants any perl code to simulate Alex's awkawk, let me know... Cheers - Neil Gardner -- This message is part of the NZ ADSL mailing list. see http://unixathome.org/adsl/ for archives, FAQ, and various documents. To unsubscribe: send mail to majordomo@lists.unixathome.org with "unsubscribe adsl" in the body of the message -- This message is part of the NZ ADSL mailing list. see http://unixathome.org/adsl/ for archives, FAQ, and various documents. To unsubscribe: send mail to majordomo@lists.unixathome.org with "unsubscribe adsl" in the body of the messageReceived on Wed Sep 4 10:47:30 2002 |
This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:24 2006 EST