Adding my own MIB

Hernán Romano <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi there!

 

  I was wondering if someone can help me with this. 

I’m trying to add my own mib in order to set and get values from an oid (my
own object). I have followed this step:

1.       Create my own Mib and added it into my Mib directory. (This worked
good)

 

After I did this; I could execute the following commands successfully:

 

                snmpset -m MIB-TEST -v 2c -c private localhost
.1.3.6.1.4.1.6147.1.1 i 45

                snmptranslate -m TDP-MIB -Td .1.3.6.1.4.1.6147.1.1

 

BUT when I try to run this commands:

 

                snmpget -m MIB-TEST -v 2c -c private localhost
.1.3.6.1.4.1.6147.1.1.0

                snmpget -m MIB-TEST -v 2c -c private localhost
.1.3.6.1.4.1.6147.1.1

                

                Returned me this:

MIB-TEST::ClearCodeGroup1 = No Such Instance currently exists at this OID


MIB-TEST::ClearCodeGroup1.0 = No Such Instance currently exists at this OID

 

And if execute the snmpwalk command:

snmpwalk -v 2c -c private localhost .1.3.6.1.4.1.6147.1.1

 

I only got the result of some mibs like:

SNMPv2-MIB

IF-MIB

RFC1213-MIB

IP-MIB

TCP-MIB

 

                BUT I have, in my mibs directory, A LOT of MORE MIBS (like
MIB-TEST) and they seem no to be running in my pc (My OS is linux).

 what should I do??? Am I missing anything??? 

Pleeease, I really need your help guys.

 

 

Hernán

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html

_______________________________________________
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.