ABSTRACT:
Question: Can SMILE be used to browse a non-NetWare based agent MIB? Question: Can I develop an application using SMILE that queries objects which are undefined at development time?
DETAILED DESCRIPTION
Question:
Can SMILE be used to browse a non-NetWare based agent MIB?
Answer:
Yes. When MIBCOMP is used to generate programming structures for MIB objects, the application can create requests to Get/Set values for these objects, regardless whether they are provided by NetWare based NLM agents or other, non-NetWare based agents. The first release of SMILE SDK documentation contained incorrect information stating that the agent must be NetWare based. This statment will be removed from subsequent versions of the documentation.
Question:
Can I develop an application using SMILE that queries objects which are undefined at development time?
Answer:
No. SMILE enforces a structure on the application. The application needs to know the MIB it's asking about in advance. After the MIB is compiled into .c data objects, these objects are used by the application developer to generate requests. There is no way to use SMILE to request an unknown "next" abstract object. SMILE doesn't provide a way to ask the SNMP agent, "What's the next abstract object you have after this one?" Rather, the application specifically requests information about objects which are clearly defined in advance. Therefore the MIB must be available at development time.
--devsup
© 2008 Novell, Inc. All Rights Reserved.