nv-l
[Top] [All Lists]

Re: [nv-l] mib-loading

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] mib-loading
From: James Shanks <jshanks@us.ibm.com>
Date: Fri, 11 Nov 2005 11:17:28 -0500
Delivery-date: Fri, 11 Nov 2005 16:17:59 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <000f01c5e679$fd25c770$133c0a0a@ustr.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Sensitivity:
No, but all the MIB loaders in NetView support a command line syntax for
loading, so you could create a script or bat file to load them.
You can see the syntax  in a command window for  the java loader if you
execute
      mibloader -?
and you can get the native loaders to write detailed instructions about
their syntax requirements and exit codes to the nv.log in a similar
fashion:
      loadmib -?       (for the native SNMPv1-only loader)
      loadmibv2 -?   (for the native SNMPv1/SNMPv2 loader)

For example, this simple batch file would do the job loading all the MIBs
in the \usr\ov\snmp_mibs directory which start with "cisco-v" using the
SNMPv1-only loader, loadmib.  You can see how to modify it, I'm sure.
Just paste this into a file with the extension ".bat" and  edit it to do
what you want.
===========================================================
@ echo off
REM # All the MIBs of the directory are loaded (attempted)
REM # edit files to compile (as expression form)
REM # example : cisco-v*
REM # errors go to \usr\ov\log\nv.log
@echo on

echo "Starting loading of SNMP MIBs ...\n"

 for %%A in (\usr\ov\snmp_mibs\cisco-v*) do loadmib -load %%A

===========================================================


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


                                                                           
             "praveen kumar"                                               
             <praveenkumar.nai                                             
             r@ustri.com>                                               To 
             Sent by:                  <nv-l@lists.us.ibm.com>             
             owner-nv-l@lists.                                          cc 
             us.ibm.com                                                    
                                                                   Subject 
                                       [nv-l] mib-loading                  
             11/10/2005 11:40                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                   nv-l                                                    
                                                                           
                                                                           






 Hi all,

I am running netview 7.1.4 for windows with fix pack 3 .

I have around 100 mibs to be loaded into Netview,is there any way that I
can load all the mibs together .does netview gives us this option?

Thanks in advance.

 True regards,
praveen



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

Archive operated by Skills 1st Ltd

See also: The NetView Web