Dave,
There is no index file in /var/net-snmp directory. It is just in
/usr/local/share/snmp/mibs (which seems to me is working directory) and I
deleted it and it didn't help.
I am also sending the REZA-MIB.txt for your reference.
I did copy this MIB in another machine and it worked fine with snmptranslate.
Thanks,
Reza
REZA-MIB DEFINITIONS ::= BEGIN
-- A Comment!
-- IMPORTS: Include definitions from other mibs here, which is always
-- the first item in a MIB file.
IMPORTS
netSnmpExamples FROM NET-SNMP-EXAMPLES-MIB
OBJECT-TYPE, Integer32,enterprises,Counter32,
MODULE-IDENTITY FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
;
-- A brief description and update information about this mib.
--
REZA MODULE-IDENTITY
LAST-UPDATED "200205290000Z" -- 29 March2007, midnight
ORGANIZATION "TC"
CONTACT-INFO "postal: Reza Salehi
P.O. Box
San Diego CA 95617
email: [EMAIL PROTECTED]
"
DESCRIPTION "A simple mib for demonstration purposes.
"
::= { enterprises 9988 }
-- Define typical mib nodes, like where the objects are going to lie.
-- we'll prefix everything in this mib with nst (net snmp tutorial)
rezaMIBObjects OBJECT IDENTIFIER ::= { REZA 1 }
rezaMIBConformance OBJECT IDENTIFIER ::= { REZA 2 }
-- define 3 objects, which will all be implemented in different ways
-- within the tutorial.
rezaAgentModules OBJECT IDENTIFIER ::= { rezaMIBObjects 1 }
rezaAgentModuleObject OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is an object that simply supports a writable integer
when compiled into the agent."
DEFVAL { 1 }
::= { rezaAgentModules 1 }
rezaTemperature OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is an object that simply supports a writable integer
when attached to the agent. The object should be accessible
when the agentx subagent containing this object is attached.
"
DEFVAL { 2 }
::= { rezaAgentModules 2 }
rezaHumidity OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
Note: forwarded message attached.
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. --- Begin Message ---
On 11/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote:
> I removed file named (.index) from /usr/local/share/snmp/mibs.
> snmptranslate read MIBs from above directory.
OK.
What about /var/net-snmp ?
If you're using v5.4, then there should be a directory /var/net-snmp/mib_indexes
Try deleting the contents of that as well.
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
--- End Message ---
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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