nv-l
[Top] [All Lists]

RE: [NV-L] Snmpget vs wsnmpget

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] Snmpget vs wsnmpget
From: "Zoeckler, Eric A." <Eric.Zoeckler@us.ngrid.com>
Date: Fri, 14 Jul 2006 09:46:10 -0400
Delivery-date: Fri, 14 Jul 2006 15:08:27 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: Acal2lGVZrSvBwAxR7qWnUxQ8PkzhQBcItYA
Thread-topic: [NV-L] Snmpget vs wsnmpget
 Francois,
Your suggestion to place the dot before the oid worked.  Now I must learn to 
create the script and have it generate a trap.  Any pointers?  Much thanks!

James Shanks,
I loaded LOAD-BAL-SYSTEM-MIB and was able to browse the mib with no problem.  
Thank you

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

-----Original Message-----
From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On 
Behalf Of Francois Le Hir
Sent: Wednesday, July 12, 2006 11:55 AM
To: Tivoli NetView Discussions
Subject: Re: [NV-L] Snmpget vs wsnmpget

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@lists.ca.ibm.com>     
             Sent by:                                                   cc 
             nv-l-bounces@list         <nv-l@lists.ca.ibm.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@lists.ca.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@us.ngrid.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@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)





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



_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.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>

Archive operated by Skills 1st Ltd

See also: The NetView Web