MiB is only like a header file. Simply defined the structure and
snmptranslate only give u back this structure infos, primary OID <->
Symbolic name translation. Look at
http://net-snmp.sourceforge.net/tutorial-5/toolkit/mib_module/NET-SNMP-TUTOR
IAL-MIB.txt for some simple examples.

Baumgart

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Mittwoch, 20. Oktober 2004 20:29
To: [EMAIL PROTECTED]
Subject: New MIB


Hi All,
i'm a newbie to Net-SNMP and i only know what i've been reading.

I still have one (basic?) question.
I have a my own MIB. It is referenced in snmpd.conf, i launch snmpd 
successfully i can make some successfull snmpget (and snmpset) of .system 
branch variables.
When i try to ask some questions about my MIB:
   >snmpget -v 1 -c public SNMPTest .1.3.6.1.4.1.20000.1.4.0

what i get is:

   Error in packet
   Reason: (noSuchName) There is no such name in this MIB
   Failed Object: SNMP-TME::pollHeartBeat

But if i execute a 

   >snmptranslate .1.3.6.1.4.1.20000.1.4.0

i get a :

   SNMP-TME::pollHeartBeat



Am i missing something? Why can't i read (write) in my MIB?

Any help would be aprecciated,
RR
__________________________________________________________
Sabe quanto gasta com a sua liga��o � Internet?
Verifique aqui: http://acesso.portugalmail.pt/contas


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to