Bernard,
thanks for your help. Unfortunately, I don't know if that's my case:
Using nvUtil command shows cmr2 is in the collection
$ nvUtil l CiscoISDN
195.183.138.197
195.183.138.205
195.183.138.209
cmr1
cmr2
$
And also querying by oid:
$ ovtopodump cmr2
CLASS OBJECT ID OBJECT STATUS IP ADDRESS
NODES 122550/122549 cmr2 Up 194.194.204.67
$
$ nvUtil s 122550
OID 122550 is found in the following collections:
No_SNMP
Routers_Backups
mlmDomain_Default
$
About sending an snmptrap command using oid, I can't find the option in the man
pages to set the origin to the desired oid.
Many thanks in advance,
Juan.
Juan Echevarría López
AT&T Global Network Services
BAUDOUX BERNARD <bernard.baudoux@FORTISBANK.COM> on 11/01/2000 12:01:02
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: Juan Echevarria Lopez/Spain/IBM)
Subject: Re: Query database collection Ruleset not working
Juan,
I think NetView does not recognise cmr2 as being part of the Collection
(object not found, no objid, etc.)
Perhaps you can use the snmptrap command to issue a trap : there you can
explicitly specify an objectid
Regards,
Bernard Baudoux
> -----Original Message-----
> From: Juan Echevarria [SMTP:echevarria@ES.IBM.COM]
> Sent: dinsdag 11 januari 2000 10:26
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Query database collection Ruleset not working
>
> Hi
>
> I think something isn't working OK in my Netview v5 running on AIX 4.2.1
> My intention is filter Cisco_LinkUp and Cisco_LinkDown events when they
> belong
> to a certain
> collection (CiscoISDN). However in the following example I accept all
> traps from
> that collection.
>
> So I've created a Ruleset with the following:
>
> Event Stream (block)--->Query Database Collection
> (Origin/CiscoISDN)--->Forward
>
> I activate it creating a Dynamic workspace with that ruleset. Then I send
> an
> event from Netview with:
> $ event -E 105 -h cmr2 -a "test event"
>
> but it doesn't display anything. Of course, router cmr2 is included in
> CiscoISDN
> collection.
>
> The log nvcorrd.alog shows the following:
>
> 100/05/01 09:56:33 nl_NVcollDnode.C[100] : NVCollCmpDnode::Resolve
> NVCollCm
> pDnode(Attr: Origin contained in CiscoISDN) Failed, no objid for attr
> Origin,
> obj id = 2887486038
> 100/05/01 09:56:33 nl_NVcollDnode.C[103] : Object not found
> 100/05/01 09:56:40 nl_NVcollDnode.C[100] : NVCollCmpDnode::Resolve
> NVCollCm
> pDnode(Attr: Origin contained in CiscoISDN) Failed, no objid for attr
> Origin,
> obj id = 2371864582
> 100/05/01 09:56:40 nl_NVcollDnode.C[103] : Object not found
>
> What's wrong with that? It aither doesn't work when I generate a trap from
> Cisco
> router in collection.
>
> Many thanks,
> Juan.
>
> Juan Echevarría López
> AT&T Global Network Services
|