nv-l
[Top] [All Lists]

ruleset is not working

To: nv-l@lists.tivoli.com
Subject: ruleset is not working
From: gyula.furton@degaz.hu
Date: Fri, 20 Jul 2001 15:46:12 +0200
Hi Everyone!

I have a ruleset, which is not working correctly.
Name is: router_sms.rs
Description:this is sending mail and SMS (through the mobile gateway), when
the node is unreachable until 2 minutes.
The ruleset is containing:

[ROOT]:/usr/OV/conf/rulesets:> more router_sms.rs
RuleSet2 RuleSet NVQryColl3
"" 0
NVQryColl3 NVQryColl TrapID4 TrapID5
Origin Routers 1 ""
TrapID4 TrapID AttrDelay6.2
netView6000 1.3.6.1.4.1.2.6.3 "6 " "58916865 " 0 "netView6000
1.3.6.1.4.1.2.6.3" "IBM_NVNDWN_EV           Specific 58916865
     " "" 0
TrapID5 TrapID AttrDelay6
netView6000 1.3.6.1.4.1.2.6.3 "6 " "58916864 " 0 "netView6000
1.3.6.1.4.1.2.6.3" "IBM_NVNUP_EV            Specific 58916864
     " "" 0
AttrDelay6 AttrDelay Action7
"" 0 "" 120 "" 0 0 0 "2 2 0~"
Action7 Action Action8
"/usr/OV/scripts/sendSMS.sh $NVATTR_2 $NVATTR_3 $NVT" "Ez kuldi az sms-t,
ha 2 percig nem elerheto valamelyik router"
Action8 Action ForwardCorr9
"/usr/OV/scripts/sendMAIL.sh $NVATTR_2 $NVATTR_3 $NVT" ""
ForwardCorr9 ForwardCorr
""
[ROOT]:/usr/OV/conf/rulesets:>

The sendSMS.sh containing:

[ROOT]:/usr/OV/scripts:> more sendSMS.sh
mail -s "NetView WARNING !!! $1 $2 $3 $NVT " 1212@xyz.hu  < /dev/null
echo `date` $1 $2 $3 $NVT >> /usr/OV/scripts/sms.log
[ROOT]:/usr/OV/scripts:>

Where the  1212@xyz.hu is my mailbox. (that is working correct).

The nvcorrd.alog file is begin:

[ROOT]:/usr/OV/log:> more nvcorrd.alog
2001/20/07 14:38:04    .//nl_nvcorrd.C[944] :    ><************ nvcorrd
starting *************
2001/20/07 14:38:04    .//nl_nvcorrd.C[945] :    ><nvcorrd level:11/13
2001/20/07 14:38:11      NVcollDnode.C[64] :    NVCollCmpDnode::Resolve
nvCollectionOpen failed: Cannot connect to nvcold
2001/20/07 14:38:11      NVcollDnode.C[64] :    NVCollCmpDnode::Resolve
nvCollectionOpen failed: Cannot connect to nvcold
2001/20/07 14:38:11      NVcollDnode.C[64] :    NVCollCmpDnode::Resolve
nvCollectionOpen failed: Cannot connect to nvcold
2001/20/07 14:44:19      NVcollDnode.C[108] :   NVCollCmpDnode::Resolve
NVCollCmpDnode(Attr: Origin contained in Routers) Failed, no
 objid for attr Origin, obj id = 3232269206
2001/20/07 14:44:19      NVcollDnode.C[111] :   Object not found
2001/20/07 14:44:19      NVcollDnode.C[108] :   NVCollCmpDnode::Resolve
NVCollCmpDnode(Attr: Origin contained in Switchs) Failed, no
 objid for attr Origin, obj id = 3232269206
2001/20/07 14:44:19      NVcollDnode.C[111] :   Object not found
.......

The nvcorrd.blog file is begin:

[ROOT]:/usr/OV/log:> more nvcorrd.blog
2001/18/07 14:25:37    .//nl_nvcorrd.C[944] :    ><************ nvcorrd
starting *************
2001/18/07 14:25:37    .//nl_nvcorrd.C[945] :    ><nvcorrd level:11/13
2001/18/07 14:49:45      NVcollDnode.C[108] :   NVCollCmpDnode::Resolve
NVCollCmpDnode(Attr: Origin contained in Routers) Failed, no
 objid for attr Origin, obj id = 3232269014
2001/18/07 14:49:45      NVcollDnode.C[111] :   Object not found
.....

What is wrong?
Can everyone help me?

----------------------------------------
Best regards.
Fürtön Gyula
network administrator
DÉGÁZ Rt., Szeged
Tel: +36-62-569-778
Mobil: +36-30-9-157-076
___________________
http://www.degaz.hu


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

Archive operated by Skills 1st Ltd

See also: The NetView Web