Hi,
I am still trying to compile my mib into the agent running in an embedded
Linux board. I have been told to create the c file/header on the PC, then
cross-compile in my embedded target agent.
So I installed net-snmp on Ubuntu. Seems to be working:
schamlian@ubuntu:/usr/share/mibs/netsnmp$ snmptranslate .1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance
schamlian@ubuntu:/usr/share/mibs/netsnmp$ snmptranslate -On
SNMPv2-MIB::sysUpTime.0
.1.3.6.1.2.1.1.3.0
Now I copied my MIB file MPBC-RMH-MIB into same directory.
I tried:
schamlian@ubuntu:/usr/share/mibs/netsnmp$ snmptranslate -m +MPBC-RMH-MIB
-IR -On mpbcRMH-Mon-HPU-State
MIB search path: /home/schamlian/.snmp/mibs:/usr/local/share/snmp/mibs
Cannot find module (MPBC-RMH-MIB): At line 1 in (none)
Unknown object identifier: mpbcRMH-Mon-HPU-State
schamlian@ubuntu:/usr/share/mibs/netsnmp$
Note that when I do the same thing my embedded system, it works well:
[root@M54418TWR mibs]# snmptranslate -m +MPBC-RMH-MIB -IR -On
mpbcRMH-Mon-HPU-State
.1.3.6.1.4.1.4464.3.2.3.6
One difference between the embedded and the PC is that on the embedded
system, the mib file is called: MPBC-RMH-MIB.txt while on the PC, it is
called: MPBC-RMH-MIB
Any hints?
Thanks,
S.
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users