net-snmp application

jie zhong <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi:
I am writing a simple application on a SUSE linux box using net-snmp. The
code is working. It does get the value based on the key i gave.
Now I need to make the application into a rpm. rpm includes the exe, a
device mib file and llibnetsnmpmibs.so.15. When I install my rpm on another
linux box, it said it can not find following mibs.
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
I guess my general question is: if I build application on box A which has
net-snmp installed, and I have to distribute my application to on box B,
should I also install net-snmp package on box B, or just include those
standard mibs into the rpm? How do I know which path the application is
looking for the mib files?

Thanks

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.