Re: [nv-l] FW: Placing data from script into netview event window
2004-03-30 16:09:40
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 AT aetna DOT com>
Sent by: owner-nv-l AT lists.us.ibm DOT com
03/30/2004 03:39 PM
|
To
| <nv-l AT lists.us.ibm DOT 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 AT lists.us.ibm DOT 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
|
|
|
|