Oh so close.... ;-)
Swapped to unix some time ago now after some bad experiences with
NV/Win. Most of the windows only places are happy to take Linux as a
minimum now too(although we're in a little period of trickyness (no more
RH 7.x updates) waiting for all the Tivoli to work properly on the new
'enterprise' linux's). I just wish NV/Linux would catch up functionally
with AIX/Solaris - I know enhancement requests, but I've not had much
luck finding our route for them.
Traps. I couldn't see where all the info would come out in clear text I
have to say. The idea was to write a little perl to extract the trap
and repeat it so I could give it to people, get the info & be able to
develop against that trap (rls/tec). My problem is I get calls to
integrate odd traps from san's/tape libraries/coke machines etc etc &
it's much easier to stay with my dev kit and do the job here than move
myself around the country to the kit (the motorways/trains are so
slooooow!).
I'll try out both I think (hex dump from James & your ruleset) - I'll
need the variable values and the oids so I'll see which gives it in
better/easier form for perl.
Thanks all
K
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]
On Behalf Of Jane Curry
Sent: 22 January 2004 16:20
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] simulating/regenerating traps?
Nice idea - don't think it will work. trapd.log doesn't have all the
trap variables recorded.
Are you still working on Windows or have you swapped to Unix? If Unix,
you could write a ruleset that fires on selected (or all) events and
calls a little shellscript that dumps all the trap information to a
file. You could then copy that file and munge it to add snmptrap
commands to replay selected events.
Cheers,
Jane
Karl Prinelle wrote:
> Hi list,
>
> I'm just in the middle of testing some nv rules / tec integration &
> I've had a thought (possibly the 1st!) about being able to regenerate
> traps sent to netview for testing?
>
> Typically a trap would have been sent to a customers live netview box,
> possibly without the trap formatting in place & I need to reproduce it
> on my machines & do rules/tec stuff. The trap will come from a device
> I won't have access to so I can't easily re-generate it.
>
> Is the trapd.log contents complete & a standard form I can pull out
> and form a call to snmptrap, or is there a trace that needs to be set
> that would cause it to contain the full trap and it's variables?
>
> Many thanks in advance
>
> K
>
>
>
>
>
> ----------------------------------------------------------------------
> -----
> *Karl Prinelle*
> *Consultant
> Elyzium Ltd
> *Mobile: +44 (0)7813 189198
>
> E-mail: karl.prinelle@elyzium.co.uk
> <mailto:karl.prinelle@elyzium.co.uk>
>
> Slough Office, Church Street, Slough, SL1 1PJ. Tel: +44 1753 515000,
> Fax:+44 1753 515017
> Head Office, 12 Queensbrook, Bolton, BL1 4AY. Tel: +44 1204 528628,
> Fax: +44 1204 534678
>
> For further information, please visit our website at
> _www.elyzium.co.uk_ <http://www.elyzium.co.uk/>
>
> ----------------------------------------------------------------------
> -----
> Elyzium Disclaimer:
> This email transmission is confidential and intended solely for the
> person
> or organisation to whom it is addressed. If you are not the intended
> recipient, you must not copy, distribute or disseminate the
> information, or
> take any action in reliance of it. Any views expressed in this message
> are
> those of the individual sender, except where the sender specifically
> states
> them to be the views of any organisation or employer.
> If you have received this message in error, do not open any attachment
> but please notify the sender (above) deleting this message from your
> system.
> Please rely on your own virus check no responsibility is taken by the
> sender for any damage arising out of any bug or virus infection.
>
------------------------------------------------------------------------
---
>
>
--
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.
|