Mail Archive: Open Networks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mib Example



Hi Bryan,

I test the example using JDK 1.2.2-L under Linux PC and it's working. I
do not think that the hardware makes a difference. So, I am wondering
that we may use different versions of these files. I create a new
package including those latest JMIB-related jars and files. The URL is
"http://www.openetlab.org/downloads/jmib.zip". 

Please let me know if you still have the problem. 

Cheers,
Phil

> "Ha, Bryan [HAL02:HG00:EXCH]" wrote:
> 
> Hi Phil,
> 
> There is no output from the routing table.  It must have failed in
> either one of the following lines:
> 
> IpGroup ipGroup = mib2.getIpGroup();
> IpRouteTable ipRoutes = ipGroup.getRouteTable();
> for (IpRouteEntry e = ipRoutes.getFirstEntry();
>                  e.isValidRow();
>                  e.advanceRow()) {
>         System.out.println("entry: " + e);
> }
> 
> I am using JDK1.2.2 RC4 so that is definitely different.
> 
> My SNMP should be correctly configured as set and gets work for the
> systemContact and systemLocation.
> 
> Thanks,
> 
> Bryan
> 
> 
> 
>      -----Original Message-----
>      From:   Wang, Phil [CAR:FD70:EXCH]
>      Sent:   Wednesday, November 01, 2000 5:24 PM
>      To:     Ha, Bryan [HAL02:HG00:EXCH]
>      Cc:     open_networks@openetlab.org
>      Subject:        Re: Mib Example
> 
>      Hi Bryan,
> 
>      Really interesting?! We use the same Linux and UCD versions,
>      except the
>      hardware is different (I use a PC).
> 
>      Have you got any output from the routing table before the
>      exception
>      happens? Also, please check if you are using JDK 1.1 (1.1.7
>      preferred).
>      I do not know if you have any problem in the SNMP configuration.
> 
>      My SUN machine is still died since the system disk crashed.
>      Unforunately
>      I have not got a right support.
> 
>      Regards,
>      Phil
> 
>      > "Ha, Bryan [HAL02:HG00:EXCH]" wrote:
>      >
>      > Hi Phil,
>      >
>      > I have retried your example with ucd-snmp 4.11 and have got the
>      same
>      > exception.
>      > The only thing I am unsure now is what machine you actually use
>      ?
>      >
>      > I use a Sun Ultra 1 machine with LINUX 6.2 installed.
>      >
>      > Any comments appreciated.
>      >
>      > Bryan


Home | Date Index | Thread Index