nv-l

Re: [NV-L] Snmpget vs wsnmpget

2006-07-12 13:42:17
Subject: Re: [NV-L] Snmpget vs wsnmpget
From: Francois Le Hir <flehir AT ca.ibm DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 12 Jul 2006 11:54:37 -0400
Eric,

Try to use your netview snmpget with a dot in front of your oid.
snmpget -c community string ip address .1.3.6.1.4.1.3375.1.1.61.0

if it still doesn't work, use the oid that you see exist in the output of
snmpwalk.

I would continue to use a script that I would run every 10 minutes (for
example) in a crontab. The script would do the snmpget to each device and
compare the result. It can then generate a trap and netview can take action
on that trap (execute a script or forward to tec for example)

Salutations, / Regards,

Francois Le Hir
Network Projects & Consulting Services
IBM Global Technology Services



                                                                           
             "Zoeckler, Eric                                               
             A."                                                           
             <Eric.Zoeckler@us                                          To 
             .ngrid.com>               <nv-l-bounces AT lists.ca.ibm DOT com>   
  
             Sent by:                                                   cc 
             nv-l-bounces@list         <nv-l AT lists.ca.ibm DOT com>           
  
             s.ca.ibm.com                                          Subject 
                                       [NV-L] Snmpget vs wsnmpget          
                                                                           
             07/12/2006 10:15                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
              Tivoli NetView                                               
                Discussions                                                
             <nv-l AT lists.ca DOT ib                                           
  
                  m.com>                                                   
                                                                           
                                                                           




Sorry if this is a repeat, but nv-l went whacky for a while and I was not
receiving anything and I don't know if anyone received this email
previously.


Patform: Netview 7.1.4 FP3 AIX 5.2


Goal:  To provide an alert in Netview when both of our F5 Load Balancers
are in "active" state at the same time.
When OID 1.3.6.1.4.1.3375.1.1.61.0 = 2  (this defines "active")


Background:
This was previously accomplished using a shell script on an AIX box running
Tivoli with Tivoli's wsnmpget command:
wsnmpget -h ip address -c community string 1.3.6.1.4.1.3375.1.1.61.0
This command returns:  2  (meaning active)


The equivalent command using snmpget on my Netview box is:
snmpget -c community string ip address 1.3.6.1.4.1.3375.1.1.61.0
This command returns:  snmpget: This variable does not exist:
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.6
.1.4.1.3375.1.1.61.0.


If I could get snmpget to work, the next question would be, How do I use
this in Netview?


snmpwalk works:  A search of the output reveals that the above OID is not
found.  That is, the OID is found but without the ending 61.0


How do I accomplish my goal?  Am I barking up the wrong tree?  Is there a
utility like rulesets or smartsets that can accomplish my goal?


Thank you in advance for any guidance you can provide.


Eric Zoeckler
IT Analyst - Network Control Center
Data Center Operations
nationalgrid
Eric.Zoeckler AT us.ngrid DOT com


This e-mail and any files transmitted with it, are confidential to National
Grid and are intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this e-mail in error, please
reply to this message and let the sender know.
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)





_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)

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