Marcos,
Thanks for your suggestion. I used mibloader2.sh and mibloader.sh (I guess one
is for V2 and the other for V1). I got an identical error.
I imported similar MIB files (that have table structure with SEQUENCE OF verb)
that come with NetView (ibm files I suppose). Those imports went well.
Shrikanth Naik
Siemens PTD, Minneapolis
Marcos Antonio Pezzutti Filho <pezzutti AT banespa.com DOT br> wrote:
Dear,
Try to use /usr/OV/bin/xnmloadmib (snmpv1) or /usr/OV/bin/xnmloadmib2 (snmpv2).
The command sintax is:
xnmloadmib -load /usr/OV/snmp_mibs/<MIB_FILE>
Marcos
-----Mensagem original-----
De: Sentra Sale [mailto:sentrasale AT yahoo DOT com]
Enviada em: Thursday, September 25, 2003 12:18
Para: nv-l AT lists.tivoli DOT com
Assunto: [nv-l] MIB LOAD ERROR
I'm trying to load a MIB on AIX 7.1.3 version I'm using mibloader.sh.
I get a syntax error "SEQUENCE OF testprotStatsTableEntry" at line 42, column 7
Was expecting one of:
"INTEGER" ...
"BIT" ...
"BITS" ...
"SEQUENCE" "OF" <TYPE> ...
<TYPE> ...
"Counter" ...
"Gauge" ...
"IpAddress" ...
"NetworkAddress" ...
"OBJECT" ...
"OCTET" ...
"Opaque" ...
"TimeTicks" ...
"Counter32" ...
"Counter64" ...
"Gauge32" ...
"Integer32" ...
"NsapAddress" ...
"Unsigned32" ...
"UInteger32" ...
The same MIB file can be loaded on Win2K version of NetView 7.1.3. Can any any
one tell me why it's erroring out on AIX but is OK on Win2K?
Here's some portion if MIB file
Thanks
Shrikanth
Siemens PTD, Minneapolis, USA
TestProt-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, Counter, TimeTicks, IpAddress
FROM RFC1155-SMI
DisplayString, PhysAddress
FROM RFC1213-MIB
OBJECT-TYPE
FROM RFC-1212;
.
.
.
testProtStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF testProtStatsTableEntry << -- ERROR!
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"testProt value table."
::= { testProtErrorStatistics 1 }
testProtStatsTableEntry OBJECT-TYPE
SYNTAX testProtStatsTableEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Each entry contains objects testProt statistics or status or
errors for a link"
INDEX { testProtLinkNumber }
::= { testProtStatsTable 1 }
testProtStatsTableEntry ::= SEQUENCE {
-- Link Number. This is the primary key for this table
testProtLinkNumber
INTEGER,
-- Link Name
testProtLinkName
DisplayString,
.... }
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
"Essa mensagem é destinada exclusivamente ao seu destinatário e pode
conter informações confidenciais, protegidas por sigilo profissional ou
cuja divulgação seja proibida por lei. O uso não autorizado de tais
informações é proibido e está sujeito às penalidades cabíveis.
This message is intended exclusively for its addressee and may contain
information that is confidential, protected by a professional
privilege or which disclosure is prohibited by law. Unauthorized use of
such information is prohibited and subject to applicable penalties."
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
|