nv-l
[Top] [All Lists]

RE: snmp setup

To: nv-l@lists.tivoli.com
Subject: RE: snmp setup
From: "Stephen Hochstetler" <shochste@us.ibm.com>
Date: Tue, 9 Oct 2001 08:42:00 -0500
I found RFC1155-SMI in
http://www.openvms.compaq.com/freeware/FREEWARE50/EMU/MIB/

I just did a search in yahoo of RFC1155-SMI.MIB

Thanks,
Stephen Hochstetler            shochste@us.ibm.com
ITSO Tivoli Coordinator - Austin
Office - 512-436-8564       FAX - 512-436-1991

ITSO redbooks at  http://www.redbooks.ibm.com


                                                                                
                                        
                    "Stamper, Steve"                                            
                                        
                    <Steve_Stamper@for       To:     "'IBM NetView Discussion'" 
<nv-l@tkg.com>                          
                    emost.com>               cc:                                
                                        
                    Sent by:                 Subject:     RE: [NV-L] snmp setup 
                                        
                    owner-nv-l@tkg.com                                          
                                        
                                                                                
                                        
                                                                                
                                        
                    10/09/2001 06:42                                            
                                        
                    AM                                                          
                                        
                    Please respond to                                           
                                        
                    IBM NetView                                                 
                                        
                    Discussion                                                  
                                        
                                                                                
                                        
                                                                                
                                        



Along this same line, I am fighting another problem:  I run mib2trap
against a particular MIB and get:
========================================================
/usr/OV/snmp_mibs # mib2trap CPQ_V2.0.1aTRP.mib output.file
         Errors - no script generated.
IMPORTS(is a reserved word): On or around line 16
/usr/OV/snmp_mibs #
========================================================

Line 16- contains:
<snip>
  IMPORTS
    enterprises
        FROM RFC1155-SMI
    swDiagResult,
    swSensorStatus, swSensorIndex, swSensorType, swSensorValue,
    swSensorInfo,
    swFCPortOpStatus, swFCPortIndex,
    swEventIndex, swEventTimeInfo, swEventLevel, swEventRepeatCount,
    swEventDescr
        FROM swmib-smiv1
    TRAP-TYPE
        FROM RFC1215;
</snip>

It looks like it trying to import some stuff from RFC1155-SMI, swmib-smiv1,
and RFC1215.  Am I right?  If so, where can I get these RFCs in a
'loadable' format?  I know I have the swmib-smiv1 under a different name
and can fix.  If I'm all wet, can someone point me to the right place?




Thanks²
Steve Stamper
Grand Rapids, MI


     -----Original Message-----
     From: James Shanks [mailto:SHANKS@us.tivoli.com]
     Sent: Monday, October 08, 2001 5:44 PM
     To: IBM NetView Discussion
     Subject: RE: [NV-L] snmp setup


     Kevin -

     Please clarify your question again, and this time use a new subject
     more explict than the last one.
     I cannot tell just what you are asking, and the old subject doesn't
     seem appropriate.

     Are you asking how to configure a Cisco agent to send you a particular
     trap when a certain threshold is exceeded?
     Then clarify what Cisco agent (what box is it?) and what MIB variable
     from what MIB?  If this is what you want, then you have to be specific
     enough so that some Cisco-savvy person can assist you.  Put Cisco in
     your subject to catch his or her attention.

     If it is not Cisco, who do you have in mind to do the monitoring, MLM
     or snmpCollect on the NetView box itself?  Both are capable.

     Are you asking how to get snmpCollect to collect on a particular Cisco
     MIB variable and send you trap when it is exceeded?  He can do that
     himself and there is no need to involve MLM.  And the documentation is
     in the NetView Admin Guide under MIB Data Collection, but generally
     you would load the MIB first, if it is in SNMP V1 format.    Otherwise
     you would edit snmpCol.conf manually, using some other entry as a
     guide.  So  again, let's be more specific and talk about what MIB
     variable from what MIB.  Is it an SNMP V2 MIB?  Have you used
     snmpCollect before?

     Or are you asking how to set up MLM to collect on a MIB variable and
     send you a trap?  He also can do that, too, just as snmpCollect can.
     Then you would use the MLM doc to find out how to configure the
     appropriate table using smconfig.  Have you used smconfig before?

     So what are you trying to do?  If you ask the right question, I am
     sure someone can help.


     James Shanks
     Level 3 Support
     Tivoli NetView for UNIX and NT
     Tivoli Software
     IBM Software Group
     Please note that my new id is jshanks@us.ibm.com



                                                                          
   Kevin Smith                                                            
   <c-kevin.smith1@wcom.com>                 To:        IBM NetView       
   Sent by: owner-nv-l@tkg.com       Discussion <nv-l@tkg.com>            
                                             cc:                          
                                             Subject:        RE: [NV-L]   
   10/08/2001 02:41 PM               snmp setup                           
   Please respond to IBM NetView                                          
   Discussion                                                             
                                                                          






     If I  may piggyback on this issue,
                                                       I am running Netview
     6.01 on Aix 4.3 I too am interesting in generating a trap  from a mib
     vairiable.  The mib is a cisco mib that monitor cpu activity on  a
     router.  My wish is to create a threshold using this mib and when the
     threshold is met generate a trap to the MLM wich then will forward the
     events to  my Netview servers.  My experience is similar to the author
     of this  note.  Is there documentation that explains step by step how
     to load and  then get trap-events for mibs that arent defined to your
     platform?

     Warm  Regards
     Kevin  Smith
     System  Administrator
     -----Original Message-----
     From: owner-nv-l@tkg.com  [mailto:owner-nv-l@tkg.com]On Behalf Of
     James Shanks
     Sent:  Friday, October 05, 2001 3:36 PM
     To: IBM NetView  Discussion
     Subject: Re: [NV-L] snmp  setup


     First, loading the  MIB does not add trap settings, period.  Never has
     in Netview .  You  can only add trap settings from a MIB by running
     mib2trap on the MIB.   This creates, in NT, a .bat file, (a script in
     UNIX), which contains a  series of addtrap commands built from the
     TRAP-TYPE or NOTIFICATION-TYPE  statements in the MIB.  If the .bat
     file is empty, then there were no  such statements in the MIB, which
     means that it does not define any traps.   If you are in doubt about
     that, then browse the MIB with Notepad or  Wordpad an take a look.  If
     the .bat file is not empty, then you must  execute that file to add
     the traps.  Adding the Enterprise Id manually is  not necessary.
     Addtrap will do that and add the specific traps as  well.


     James Shanks
     Level 3  Support
     Tivoli NetView for UNIX and NT
     Tivoli Software
     IBM  Software Group
     Please note that my new id is  jshanks@us.ibm.com



                                                                           
    Daniel Lehman                                                          
    <dlehman@hurricanetechgroup.com>                     To:               
    Sent by: owner-nv-l@tkg.com                  nv-l@tkg.com              
                                                          cc:              
    10/05/2001 02:10 PM                                  Subject:          
    Please respond to IBM NetView Discussion     [NV-L] snmp setup         
                                                                           
                                                                           
                                                                           





     Hello  All,

     I am having a  little issue, i  loaded the required mib in to Netview
     6.02 on NT.  I am able to use the  MIB Browser and walk through the
     tree succesfully.  When i go into the  view the trap settings there is
     nothing visible under the Enterprise for this  MIB, so i created a new
     entry for the Enterprise.  Still no traps are  visible.  I attempted
     to use mib2trap with no success, any and all advice  for be greatly
     appreciated.   Thanks..........
     _________________________________________________________________________

     NV-L  List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web