From: Rocir Santiago Date: 2009-10-02T01:23:36+09:00 Subject: Re: Problems with SNMP When I run the code that I sent, the output is: __ 1 Ethernet Port on unit 1, port 1 4470 89926 >Exit code: 0 __ At the first interation, it just exits when try to print the ifPhysAddress information. About the switch, do you have any idea how can I "test" it? You told me to use snmpget but it requires an OID. I don't know how can I discover what OID I can use. I'm really new with SNMP and I just need that functionality in my app, because of that I'mhaving some problems. Thank you for your help. Nicol叩s Brailovsky wrote: > 2009/10/1 Rocir Santiago > >> When I just add the ifPhysAddress, the application just exists, with out >> any message. >> > > You'll have to find what's the exception by capturing it yourself then, > there's no way my psychic powers can reach that far. > > >> >> I know the switch supports what I want because at the web interface I >> can see a image that shows all the pluged machines and I can see the MAC >> address of each one. >> > > Doesn't mater, the web interface may show it but that doesn't mean SNMP > supports this functionality. Reffer to the different RFCs for SNMP and > check > if it's supported using another SNMP tool, like those from netsnmp. > > > > Regards > -- > Nicol叩s Brailovsky - http://nicolasb.com.ar/ -- Posted via http://www.ruby-forum.com/.