nv-l
[Top] [All Lists]

[nv-l] Issues with trap configurations

To: "Nv-L (nv-l@lists.us.ibm.com)" <nv-l@lists.us.ibm.com>
Subject: [nv-l] Issues with trap configurations
From: "Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
Date: Thu, 12 Feb 2004 10:56:16 -0600
Delivery-date: Thu, 12 Feb 2004 17:05:49 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
NetView 7.1.3 AIX 4.3.3


I am using the MIB2TRAP utility to create a shell script to import traps for
an IBM Tape Library (3584). Originally I had an automatic action as listed
here (see -C): 

/usr/OV/bin/addtrap -l ibm3584Trap408 -g 6 -s 408 \
   -n ibm3584MIBTraps -i 1.3.6.1.4.1.2.6.182.1.0 \
   -o A  -c "Error Events" -t 0 \
   -S 1  \
   -C "print \" Host \$A - \$*:\" | /usr/OV/alert/fmt_trap.pl" \
   -D "Trap for non tape alert 008.
Cause: Test initiated from operator panel.
Required host message:
This is a test SNMP trap."  \
   -e ibm3584Trap408  \
   -F '$E $G $S $# args: $*'

I wanted to remove the automatic action so I deleted the trap in xnmsnmp and
then ran the following (Same but with the -C line removed): 


/usr/OV/bin/addtrap -l ibm3584Trap408 -g 6 -s 408 \
   -n ibm3584MIBTraps -i 1.3.6.1.4.1.2.6.182.1.0 \
   -o A  -c "Error Events" -t 0 \
   -S 1  \
   -D "Trap for non tape alert 008.
Cause: Test initiated from operator panel.
Required host message:
This is a test SNMP trap."  \
   -e ibm3584Trap408  \
   -F '$E $G $S $# args: $*'

If I open xnmtrap and browse to the trap I can see that the change came in.
However next time the trap comes in it still runs the automatic action. I
looked at /usr/OV/conf/C/trapd.conf and it looks correct. I also ran "event
-e FMTCHG" and still the old format comes in. I restarted the daemons and
still the old format came in. I removed the trap from within xnmtrap and I
get "?" in the trapd.log.

Any ideas?

Thanks,

Scott Bursik
 
 
 




<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] Issues with trap configurations, Bursik, Scott {PBSG} <=

Archive operated by Skills 1st Ltd

See also: The NetView Web