nv-l
[Top] [All Lists]

Re: [nv-l] Cursed Cisco Trap Formats

To: "Barr, Scott" <Scott_Barr@csgsystems.com>
Subject: Re: [nv-l] Cursed Cisco Trap Formats
From: netview@toddh.net (Todd H.)
Date: 03 Oct 2002 13:59:25 -0500
Cc: <nv-l@lists.tivoli.com>
Reply-to: nv-l@lists.tivoli.com
"Barr, Scott" <Scott_Barr@csgsystems.com> writes:
> 
> So, let me go back to my original request - how can I handle this
> with automation?

Use $* in the trap format for that OID/generic/specific that comes in.
That'll shut trapd up and let it gracefully deal with the variability.

Then script a command (using ksh, Perl, or even C if ya like) for
automatic action that handles 3 4 or 5 varbinds appropriately as you
wish.  Send an event to TEC then with postemsg. 

The scripting is left as an (albeit fairly straightfoward) exercise to
the user.   You have a situation that requires some customization via
scripting, and I'm afraid no one can shield you from having to do that
scripting.   

Best Regards,
-- 
Todd H.
http://www.toddh.net/

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

Archive operated by Skills 1st Ltd

See also: The NetView Web