On 09/02/07, Suba J <[EMAIL PROTECTED]> wrote: > We install the SNMP and create sample MIB also. > > But we don't about how to implement the MIB to my User Interface because our > GUI was written in Java code, MIB is C language.
No - the MIB is *not* written in C. The MIB is written in SMI - a syntax specifically designed for representing management information. This MIB can be used as the design template for writing code to implement these management objects in a particular agent. If you're using our agent, then this code would most likely be C code, since that's what our agent is written in. But you could implement these objects in C++, or Java, or whatever other programming language was appropriate for the agent you want to use. Having implemented this MIB in an agent, you can then query it from your client application(s) - which can be written in any language. There's no need for the client and the agent to match. That's the point of network standards! If your GUI is a fairly generic thing, then you may find that it just works. If it handles particular MIBs specially, then you may need to write code to do this for your new example MIB. But this is completely separate from how you implement the MIB in the agent, If you need assistance with updating your GUI, then I suggest you contact the people who supplied it. We can only really support the Net-SNMP suite, and applications written using this API. Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
