nv-l
[Top] [All Lists]

Re: [nv-l] Rule Set Testing

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Rule Set Testing
From: Jane Curry <jane.curry@skills-1st.co.uk>
Date: Mon, 26 Apr 2004 14:47:01 +0100
Delivery-date: Mon, 26 Apr 2004 14:55:02 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <DA4A22364E6107449FC788A5DA2872620AD3C5@sapxch10.corp.commenergy.com>
References: <DA4A22364E6107449FC788A5DA2872620AD3C5@sapxch10.corp.commenergy.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
Debra,
If the event you need to test is from the NetView enterprise then "event -l" lists out all the events you can generate with the event command. If the test TRAP you want to generate is not from the NetView enterprise, you will need to use the snmptrap command which can be driven either from a command line or from serversetup -> Diagnose.

If you use command line, I always make sure I use a fully-qualified pathname as many Operating Systems have their own snmptrap command and they all seem to have slightly different syntax - use /usr/OV/bin/snmptrap to be sure of getting the NetView version.

I have put a sample harness shellscript on the NetView Tivoli User Group website - follow this link to find it:
http://www.nv-l.org/twiki/bin/view/Netview/EventMgmt

Cheers,
Jane

Klingensmith, Debra L. wrote:

I have created a ruleset where I want a script to run when specific traps are 
received. I would like to test the ruleset. I know you can send a test node 
down event by using the command event -h nodename -e NDWN_EV. My question is 
where do I look to find the event name for the traps I would like to test. I 
cannot look at previous events because none have been generated. These events 
are for a very critical UPS system and  I cannot wait for an event to happen to 
make sure things are set up correctly. I am running Netview 7.1.5 on AIX 5.1.0.

Debra L. Klingensmith
Network Specialist
Allegheny Energy
phone: (724) 830-5881
email: dkling2@alleghenyenergy.com







--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2004 Jane Curry <jane.curry@skills-1st.co.uk>.  All rights 
reserved.



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

Archive operated by Skills 1st Ltd

See also: The NetView Web