Hello Roger, thanks for your reply.
I forgot this option, and hey ! It works. That's exactly what I need.
But...well, with the Query Database Collection in rulesets, you have to
define the
source variable to be compared with the collection content.
It works with traps generated by Netview (by using $2 as the source),
but how do you do it with traps received from an equipment (i.e. router,
hub, ...) ?
I've checked with a sniffer, and unfortunately the network address of the
sender
is not given as a variable (although it's present in the trap as the
'network address').
Without that variable, the ruleset will not forward the trap (of course),
and the
event window associated to the ruleset will only show traps generated by
Netview...
Thanks (again) for your help !
Cheers,
Luca
> -----Original Message-----
> From: Roger Kearsley [SMTP:KEARSR@SPCS.BRITISHSTEEL.CO.UK]
> Sent: vendredi, novembre 27, 1998 11:54
> Subject: Re: Quick question on collections
>
> Roger Kearsley
> 11/27/98 10:54 AM
>
>
> To: NV-L @ UCSBVM.UCSB.EDU
> cc:
> Subject: Re: Quick question on collections
>
>
> Use the Object List facility within the Collection editor - it will allow
> you to do what you want, i.e. just add a list of the hostnames you want to
> be in the collection
>
>
>
>
>
> Luca.Smeriglio@NESTLE.COM on 27/11/98 09:15:43
>
> Please respond to NV-L@UCSBVM.UCSB.EDU
>
> To: NV-L@UCSBVM.UCSB.EDU
> cc: (bcc: Roger Kearsley/IT/BritishSteel1)
> Subject: Quick question on collections
>
>
>
>
> Hi list !
> here is a quick one :
> Is it possible (I'm running nv6k 5.1) to create a collection filled
> manually
> (statically),
> instead of creating it based on a dynamic/logical expression ?
> I would like to create one collection for our windows NT servers, another
> one
> for the Novell servers, then unix servers, ... and so on.
> And then use these collections within rulesets, the event viewer and shell
> scripts.
> I want to fill them manually because I don't need all the servers inside,
> but only some of
> them.
> By using normal collections I can't select which object I want to keep
> inside or not.
> (because, for example, all NT servers have the same system object ID, and
> thus they are
> ALL added)
> How do you guys do ? Are you creating additional flags in the object for
> example ?
> Thanks for your help !
> Cheers,
> Luca
> ``
> (o o)
> ----------oOO-(_)-OOo----------
> Luca Smeriglio
> Operating Systems & Networks
> NESTEC SA - Vevey Switzerland
> TEL ++41 21 924.26.53 / FAX 924.45.89
> OSN Web: http://ser.nestec.ch
> HARE: http://home.worldcom.ch/~lsmerigl
> -------------------------------
|