nv-l

Re: [nv-l] Cursed Cisco Trap Formats

2002-10-03 14:59:25
Subject: Re: [nv-l] Cursed Cisco Trap Formats
From: netview AT toddh DOT net (Todd H.)
To: "Barr, Scott" <Scott_Barr AT csgsystems DOT com>
Date: 03 Oct 2002 13:59:25 -0500
"Barr, Scott" <Scott_Barr AT csgsystems DOT 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/