nv-l
[Top] [All Lists]

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

To: nv-l@lists.tivoli.com
Subject: RE: MIB Browser and Loader for NV 7.1 -- some MIBs won't l oad
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Fri, 9 Nov 2001 12:54:40 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
James, as much as I appreciate your input, this was not a request for help.
Thats why I opened a PMR. It doesn't really matter to me whether the mib
loader supports an underscore character or not. It produces a cryptic error
message resulting in lots of extra work. So I opened it with support. Thats
why I pay them!
 
It was Paul Stroud who tried the removal of the underscores. He's turned it
over to backend support because he couldn't make it work either. I can't
tell you the error because I didn't see it. He just said it caused
additional errors when he tried it. I posted it here only as FYI for those
who need to load mibs.
 
Dont' worry, I still heed the words of the jedi mib master.

-----Original Message-----
From: James Shanks [mailto:jshanks@us.ibm.com]
Sent: Friday, November 09, 2001 12:43 PM
To: IBM NetView Discussion
Subject: RE: [NV-L] MIB Browser and Loader for NV 7.1 -- some MIBs won't
load



Scott - 

I cannot help you if you don't explain the details. 
What exactly happened when you tried changing the underscores to hyphens? 


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 01:36 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 -- some
MIBs won't l        oad 

       


We tried that, unsuccessfully 
  
<flame on> 
  
Wish the two mib compilers played by the same darn rules! 
  
<flame off> 

[|]  -----Original Message-----
From: James Shanks [mailto:jshanks@us.ibm.com]
Sent: Friday, November 09, 2001 12:06 PM
To: IBM NetView Discussion
Subject: RE: [NV-L] MIB Browser and Loader for NV 7.1 -- some MIBs won't
load


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.





James, as much as I appreciate your input, this was not a request for help. Thats why I opened a PMR. It doesn't really matter to me whether the mib loader supports an underscore character or not. It produces a cryptic error message resulting in lots of extra work. So I opened it with support. Thats why I pay them!
 
It was Paul Stroud who tried the removal of the underscores. He's turned it over to backend support because he couldn't make it work either. I can't tell you the error because I didn't see it. He just said it caused additional errors when he tried it. I posted it here only as FYI for those who need to load mibs.
 
Dont' worry, I still heed the words of the jedi mib master.
-----Original Message-----
From: James Shanks [mailto:jshanks@us.ibm.com]
Sent: Friday, November 09, 2001 12:43 PM
To: IBM NetView Discussion
Subject: RE: [NV-L] MIB Browser and Loader for NV 7.1 -- some MIBs won't load


Scott -

I cannot help you if you don't explain the details.
What exactly happened when you tried changing the underscores to hyphens?


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 01:36 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 -- some MIBs won't l        oad

       


We tried that, unsuccessfully
 
<flame on>
 
Wish the two mib compilers played by the same darn rules!
 
<flame off>

[|]  
-----Original Message-----
From:
James Shanks [mailto:jshanks@us.ibm.com]
Sent:
Friday, November 09, 2001 12:06 PM
To:
IBM NetView Discussion
Subject:
RE: [NV-L] MIB Browser and Loader for NV 7.1 -- some MIBs won't load


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