nv-l
[Top] [All Lists]

RE: MIB Browser and Loader for NV 7.1 -- some MIBs won't load

To: nv-l@lists.tivoli.com
Subject: RE: MIB Browser and Loader for NV 7.1 -- some MIBs won't load
From: "James Shanks" <jshanks@us.ibm.com>
Date: Fri, 9 Nov 2001 13:06:13 -0500
This is a multipart message in MIME format.
Scott -

The problem as I see it is basically this.  The old code (xnmloadmib) did 
not enforce ASN.1 encoding standards. The new code does.  And underscores 
are not valid for an identifier in a MIB.  (Perkins and Ellis, 
Understanding SNMP MIBs, Prentice-Hall, 1997, p.61).   Just change the 
underscores to hyphens and it will load fine.  And it will make no 
difference when you query the agent because this is done by OID not the 
identifier.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
 





"Barr, Scott" <Scott_Barr@csgsystems.com>
Sent by: owner-nv-l@tkg.com
11/09/2001 12:11 PM
Please respond to IBM NetView Discussion

 
        To:     "'IBM NetView Discussion'" <nv-l@tkg.com>
        cc: 
        Subject:        RE: [NV-L] MIB Browser and Loader for NV 7.1

 

here is the PMR on mib loading Dell / Sun mibs. I like the mibloader.sh - 
good stuff (A little slower than xnmloadmib but nothing obnoxious)
 
*** T1S2R3V4 
*** Electronic creation by customer via Tivoli Customer Support Web Site
*** Please contact customer by Electronic 
*** 
*** Userid: bars02 
*** Email Address: scott_barr@csgsystems.com 
*** Fax Number: 402-431-7413 
*** 24 Hour Phone Number: 
*** 
Problem Details 
. 
Abstract: 
TivWeb: Unable to load mibs for web console 
. 
System Type: Sun 
System Model: Sunblade 100 
Other related devices: 
. 
Operating System: Solaris 2.3+ 
Product Group: NetView for UNIX 
Fileset or Version: v7.1 
. 
Environment: 
. 
Problem Description: 
Greetings, we are attempting to load MIBs for the Dell Openmanage 
connection for Tivoli NetView v1.3 
The MIBs all load properly under xnmloadmib but most of them cannot be 
loaded on the web console due to the following typical error: 
======================================================================= 
# mibloader.sh --load symmib.mib --commit 
Loading Files 
........................................................................
.............................................. 
Parsing the loaded MIBs together with MIBs selected for loading. 
Processing File: symmib.mib 
ibm.nways.jdm.mib.TokenMgrError: Lexical error at line 2, column 7. 
Encountered: "_" (95), after : "" 
Errors were encountered parsing MIBs. The changes will not be committed.
======================================================================= 
Top Section of MIB attempting to be loaded: 
-- MIB generated by mibgen version 1.0 
SYMMIB_MIB-MIB DEFINITIONS ::= BEGIN 
IMPORTS 
enterprises 
FROM RFC1155-SMI 
InternationalDisplayString 
FROM HOST-RESOURCES-MIB 
OBJECT-TYPE 
FROM RFC-1212 
Counter,Gauge, 
DisplayString 
FROM RFC1213-MIB 
Dmi_Date,Dmi_Integer64, 
dmiEventDateTime,dmiCompId,dmiEventSeverity, 
dmiEventStateKey,dmiEventAssociatedGroup, 
dmiEventSystem,dmiEventSubSystem 
FROM DMTF-DMI; 
======================================================================= 
Notice the error message points out line 2, column 7 which, has no data 
in it. (Line 2 is blank) 
Please advise on how to get these MIBs load. The mibs can be found at: 
http://support.dell.com/us/en/filelib/download/index.asp?fileid=R34408 
This file is a tar of traps and mibs for NetView AIX (we are running on 
Solaris)
Action Taken:  Sending to incoming product queue. 
am1108tiv
Action Taken: 
Spoke with Customer Rep and he has several Dell mibs that are loading 
fine through the normal NetView mibloader GUI. But fail when using the 
mibloader.sh script. From some testing here it appears there is a 
problem with parsing the "_" character. I am not 100% sure of this. I 
will continue to look into this. 
. 
Action Plan: 
Researching.
Action Taken: 
Attempted to get more information about the error from logging. No 
additional useful information was gained from there. I have both the mib
file and mibloader log with debug turned on, but cannot reach dfs at 
this time. If you pick up this call, let me know and I'll send you the 
information via email. 
. 
Action Plan: 
Passing to the backend for further diagnosis.



Scott -

The problem as I see it is basically this.  The old code (xnmloadmib) did not enforce ASN.1 encoding standards. The new code does.  And underscores are not valid for an identifier in a MIB.  (Perkins and Ellis, Understanding SNMP MIBs, Prentice-Hall, 1997, p.61).   Just change the underscores to hyphens and it will load fine.  And it will make no difference when you query the agent because this is done by OID not the identifier.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group




"Barr, Scott" <Scott_Barr@csgsystems.com>
Sent by: owner-nv-l@tkg.com

11/09/2001 12:11 PM
Please respond to IBM NetView Discussion

       
        To:        "'IBM NetView Discussion'" <nv-l@tkg.com>
        cc:        
        Subject:        RE: [NV-L] MIB Browser and Loader for NV 7.1

       


here is the PMR on mib loading Dell / Sun mibs. I like the mibloader.sh - good stuff (A little slower than xnmloadmib but nothing obnoxious)
 
*** T1S2R3V4                                                            
*** Electronic creation by customer via Tivoli Customer Support Web Site
*** Please contact customer by Electronic                              
***                                                                    
*** Userid: bars02                                                      
*** Email Address: scott_barr@csgsystems.com                            
*** Fax Number: 402-431-7413                                            
*** 24 Hour Phone Number:                                              
***                                                                    
Problem Details                                                        
.                                                                      
Abstract:                                                              
TivWeb: Unable to load mibs for web console                            
.                                                                      
System Type: Sun                                                        
System Model: Sunblade 100                                              
Other related devices:                                                  
.                                                                      
Operating System: Solaris 2.3+                                          
Product Group: NetView for UNIX                                        
Fileset or Version: v7.1                                                
.                                                                      
Environment:                                                            
.                                                                      
Problem Description:                                                    
Greetings, we are attempting to load MIBs for the Dell Openmanage      
connection for Tivoli NetView v1.3                                      
The MIBs all load properly under xnmloadmib but most of them cannot be  
loaded on the web console due to the following typical error:          
=======================================================================
# mibloader.sh --load symmib.mib --commit                              
Loading Files                                                          
........................................................................
..............................................                          
Parsing the loaded MIBs together with MIBs selected for loading.        
Processing File: symmib.mib                                            
ibm.nways.jdm.mib.TokenMgrError: Lexical error at line 2, column 7.    
Encountered: "_" (95), after : ""                                      
Errors were encountered parsing MIBs. The changes will not be committed.

=======================================================================
Top Section of MIB attempting to be loaded:                            
-- MIB generated by mibgen version 1.0                                  
SYMMIB_MIB-MIB DEFINITIONS ::= BEGIN                                    
IMPORTS                                                                
enterprises                                                            
FROM RFC1155-SMI                                                      
InternationalDisplayString                                            
FROM HOST-RESOURCES-MIB                                              
OBJECT-TYPE                                                            
FROM RFC-1212                                                        
Counter,Gauge,                                                        
DisplayString                                                          
FROM RFC1213-MIB                                                      
Dmi_Date,Dmi_Integer64,                                                
dmiEventDateTime,dmiCompId,dmiEventSeverity,                          
dmiEventStateKey,dmiEventAssociatedGroup,                              
dmiEventSystem,dmiEventSubSystem                                      
FROM DMTF-DMI;                                                        
=======================================================================
Notice the error message points out line 2, column 7 which, has no data
in it. (Line 2 is blank)                                                
Please advise on how to get these MIBs load. The mibs can be found at:  
http://support.dell.com/us/en/filelib/download/index.asp?fileid=R34408  
This file is a tar of traps and mibs for NetView AIX (we are running on
Solaris)
Action Taken:  Sending to incoming product queue.                      
am1108tiv
Action Taken:                                                          
Spoke with Customer Rep and he has several Dell mibs that are loading  
fine through the normal NetView mibloader GUI. But fail when using the  
mibloader.sh script. From some testing here it appears there is a      
problem with parsing the "_" character. I am not 100% sure of this. I  
will continue to look into this.                                        
.                                                                      
Action Plan:                                                            
Researching.
Action Taken:                                                          
Attempted to get more information about the error from logging. No      
additional useful information was gained from there. I have both the mib
file and mibloader log with debug turned on, but cannot reach dfs at    
this time. If you pick up this call, let me know and I'll send you the  
information via email.                                                  
.                                                                      
Action Plan:                                                            
Passing to the backend for further diagnosis.





<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web