nv-l
[Top] [All Lists]

Re: [nv-l] FW: Placing data from script into netview event window

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] FW: Placing data from script into netview event window
From: James Shanks <jshanks@us.ibm.com>
Date: Tue, 30 Mar 2004 15:53:23 -0500
Delivery-date: Tue, 30 Mar 2004 22:09:41 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <77B193C39550DE4995D34F2C567A27770C9214@mddp-msg-004.aeth.aetna.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

I am not at all sure what you are asking.
Here's a script to send a dummy cisco.syslog trap from NetView for UNIX.  The first hostname is the NetView box, the second is the box that will appear to have sent it.  If you use hostnames they must resolve to real devices in your network.  IP address however can be anything you like.

You can do something similar for any trap you like
Does this help?

#!/bin/ksh
# cisco.syslog trap
#
# per Cisco the variables are
#    clogHistFacilty   =  $1
#    clogHistSeverity  =  $2
#    clogHistMsgName   =  $3
#    clogHistMsgText   =  $4
#    clogHistTimestamp =  $5
#
/usr/OV/bin/snmptrap  \
 test1.raleigh.ibm.com  .1.3.6.1.4.1.9.9.41.2 \
 10.12.99.123  6 1 10 \
 .1.3.6.1.4.1.9.9.41.2.1.0  Integer  20 \
 .1.3.6.1.4.1.9.9.41.2.2.0  Integer  4  \
 .1.3.6.1.4.1.9.9.41.2.3.0  OctetStringascii  "Reset_value" \
 .1.3.6.1.4.1.9.9.41.2.4.0  OctetStringascii  "106010: Deny inbound udp src Backend_FW_Web:32.84.142.137/161 inside:32.83.13.194/162" \
 .1.3.6.1.4.1.9.9.41.2.5.0  Timeticks  12345






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



"Delaire, Patrick" <delairep@aetna.com>
Sent by: owner-nv-l@lists.us.ibm.com

03/30/2004 03:39 PM
Please respond to
nv-l

To
<nv-l@lists.us.ibm.com>
cc
Subject
[nv-l] FW: Placing data from script into netview event window





Resending..

 -----Original Message-----
From:  
Delaire, Patrick  
Sent:  
Tuesday, March 30, 2004 3:12 PM
To:    
Nv-L (nv-l@lists.us.ibm.com)
Subject:      
 Placing data from script into netview event window

I am having problems getting variable data from a script into the netview event window.
Anyone on this list care to share some examples?

Thanks Patrick          
                   



This e-mail may contain confidential or privileged information.  If you
think you have received this e-mail in error, please advise the sender by
reply e-mail and then delete this e-mail immediately.  Thank you.  Aetna


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

Archive operated by Skills 1st Ltd

See also: The NetView Web