To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] SNMPTraps to TEC |
From: | ray.smith@clorox.com |
Date: | Fri, 23 Apr 2004 13:53:20 -0700 |
Delivery-date: | Fri, 23 Apr 2004 22:00:27 +0100 |
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 |
One way to do it is on the NV side. The other way is to do it on the TEC side. NV requires sending himself a second trap and doing a case statement to map 1, 2, 3, 4, 5 to whatever severity you want. TEC requires slotting one of those numbers and then adjusting the severity over there in a rule. I just learned how to do this myself for the firs time. I chose to do something like this on the NV side of in a parsing script that generated the second trap. case $4 in "P1" ) TECSeverity=FATAL;; "P2" ) TECSeverity=CRITICAL;; "P3" ) TECSeverity=WARNING;; "P4" ) TECSeverity=HARMLESS;; esac TECSeverity is the new argument in the trap and is mapped to $Vsomenumber and then you assign $Vsomenumber to the severity slot on TEC Ray Smith IS Engineer The Clorox Services Company 925-425-4363
I have what is probably a stupid question here, and take it easy on me here since I am newbie. I have an application that is forwarding traps to netview which I want to forward events to TEC. The problem that I have is the application's severity (which is passed via varbind4) is #1 a number [1-5] and #2 their severity doesn't not match a TEC Severity. How does one take these severities and re-map them to proper TEC Severities? I want to map 5 to CRITICAL, 4 to MINOR, 3 & 2s to WARNING and 1 to HARMLESS. Any insight would be great. Thanks, Jeff Chwirut
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] SNMPTraps to TEC, Jeff Chwirut |
---|---|
Next by Date: | Re: [nv-l] NV 714 installation error, George deSocio |
Previous by Thread: | Re: [nv-l] SNMPTraps to TEC, Frank W. Hansen |
Next by Thread: | Re: [nv-l] SNMPTraps to TEC, Brandon Mitchell |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web