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
Resending.. -----Original Message-----
I am having problems getting variable data
from a script into the netview event window. Thanks Patrick
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] FW: Placing data from script into netview event window, Delaire, Patrick |
---|---|
Next by Date: | RE: [nv-l] FW: Placing data from script into netview event window, Barr, Scott |
Previous by Thread: | [nv-l] FW: Placing data from script into netview event window, Delaire, Patrick |
Next by Thread: | RE: [nv-l] FW: Placing data from script into netview event window, Barr, Scott |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web