| To: | nv-l@lists.tivoli.com |
|---|---|
| Subject: | ovaction and duplicate mail |
| From: | Dimitri.Setti@fccrt.it |
| Date: | Fri, 25 Aug 2000 08:47:32 +0200 |
This is a multipart message in MIME format. Hi at all .
I have a problem with ovaction:
I have configured a Trap doing this:
from the GUI I select Event Configuration -> Trap Customization: SNMP ->
Cisco 1.3.6.1.4.1.9
-> Cisco_Link_Down :
in this window I select Command for Automati Action:
/FCscript/NV6000/ac4Idown $A $2 $3 $5 & (it's my script)
I suppose when a Cisco Link Down trap arrives to my nv6000, my script
elaborate it and send me a notification
by mail.
Unfortunately, I receive mail, but duplicate, even if in trapd.log I have
only a Cisco Link Down Trap
and in ovaction.log I see only a single called to my script.
Where is the problem? my script is a simple korn shell script.
This is log from Cisco Router (hostname giongosede):
giongosede#sh log
Aug 25 08:24:51 Italy: %LINK-5-CHANGED: Interface Serial1, changed state
to administratively down
giongosede#
-----------------------------------------------------------------
This is trapd.log filtered by hostname :
root: /usr/OV/log >tail -f trapd.log|grep giongosede
967184691 13 Fri Aug 25 08:24:51 2000 giongosede A Cisco
Agent Interface Down (
linkDown Trap) on interface: Serial1 locIfReason: administratively down
-----------------------------------------------------------------
This is ovaction.log :
root: /usr/OV/log >tail -f ovactiond.log
08/25/00 08:25:21 Command /FCscript/NV6000/ac4Idown.sh giongosede Serial1
23 FMT ERROR: accessi
ng element #5, only 4 available administratively down FMT ERROR: accessing
element #6, only 4 a
vailable & returned standard output data:
PING 10.126.255.1 (10.126.255.1): 56 data bytes
--- 10.126.255.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
PING 10.126.255.1 (10.126.255.1): 56 data bytes
--- 10.126.255.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
PING 10.126.255.1 (10.126.255.1): 56 data bytes
--- 10.126.255.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
-----------------------------------------------------------------
Any ideas?
PS: I use netview6000 v 5.1.1 on AIX 4.2.1,
Dimitri
(o o)
----------oOO-(_)-OOo----------
***********************************************************************
Dimitri Setti
Fondo Comune Casse Rurali Trentine
via Segantini n.18
38100 TRENTO
ITALY
Tel: +39 461 874.111 centralino
Fax: +39 461 874.123
e-mail: Dimitri.Setti@fccrt.it
***********************************************************************
Hi at all . I have a problem with ovaction: I have configured a Trap doing this: from the GUI I select Event Configuration -> Trap Customization: SNMP -> Cisco 1.3.6.1.4.1.9 -> Cisco_Link_Down : in this window I select Command for Automati Action: /FCscript/NV6000/ac4Idown $A $2 $3 $5 & (it's my script) I suppose when a Cisco Link Down trap arrives to my nv6000, my script elaborate it and send me a notification by mail. Unfortunately, I receive mail, but duplicate, even if in trapd.log I have only a Cisco Link Down Trap and in ovaction.log I see only a single called to my script. Where is the problem? my script is a simple korn shell script. This is log from Cisco Router (hostname giongosede): giongosede#sh log Aug 25 08:24:51 Italy: %LINK-5-CHANGED: Interface Serial1, changed state to administratively down giongosede# ----------------------------------------------------------------- This is trapd.log filtered by hostname : root: /usr/OV/log >tail -f trapd.log|grep giongosede 967184691 13 Fri Aug 25 08:24:51 2000 giongosede A Cisco Agent Interface Down ( linkDown Trap) on interface: Serial1 locIfReason: administratively down ----------------------------------------------------------------- This is ovaction.log : root: /usr/OV/log >tail -f ovactiond.log 08/25/00 08:25:21 Command /FCscript/NV6000/ac4Idown.sh giongosede Serial1 23 FMT ERROR: accessi ng element #5, only 4 available administratively down FMT ERROR: accessing element #6, only 4 a vailable & returned standard output data: PING 10.126.255.1 (10.126.255.1): 56 data bytes --- 10.126.255.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss PING 10.126.255.1 (10.126.255.1): 56 data bytes --- 10.126.255.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss PING 10.126.255.1 (10.126.255.1): 56 data bytes --- 10.126.255.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss ----------------------------------------------------------------- Any ideas? PS: I use netview6000 v 5.1.1 on AIX 4.2.1, Dimitri (o o) ----------oOO-(_)-OOo---------- *********************************************************************** Dimitri Setti Fondo Comune Casse Rurali Trentine via Segantini n.18 38100 TRENTO ITALY Tel: +39 461 874.111 centralino Fax: +39 461 874.123 e-mail: Dimitri.Setti@fccrt.it *********************************************************************** |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Re: Demand poll hangs, James_Shanks |
|---|---|
| Next by Date: | Re: Tivoli Decision Support 2.1 for NetView, Leonid . Golstein |
| Previous by Thread: | Are the 6.0 NT manuals online anywhere???? Patches????, Brizzi, Ray |
| Next by Thread: | Re: ovaction and duplicate mail, James_Shanks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web