nv-l
[Top] [All Lists]

RE: [nv-l] Cursed Cisco Trap Formats

To: <nv-l@lists.tivoli.com>
Subject: RE: [nv-l] Cursed Cisco Trap Formats
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Thu, 3 Oct 2002 15:24:40 -0500

> I'm a bit confused here.  The error message about variables
> accessed is
> from trapd and only affects the way the trap is shown in the
> trapd.log and
> the event window.  The PDU structure passed to the ruleset should be
> unaffected.  As has been noted, you can get around the error 
> by using $*
> to display all the variables or by making multiple copies of
> the trap with
> slightly different names and specifying a host list for which
> nodes each
> definition applies to.

===> James exactly correct. This is not the issue I am trying to resolve.
>
> As for the rulesets, there was a new variable introduced called
> $NVATTR_COUNT  which may help, but I don't remember what
> release it was

===> DING DING DING DING - that is the magic answer

You will see from the previous script example, I will be able to interrogate the enviornment variable to see how many are there. I am on 7.1.1 so I am guessing this enhancment would already be there. If not, we have 7.1.2 ready to go.

I must go code now.

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

Archive operated by Skills 1st Ltd

See also: The NetView Web