* "Gupta, Narendra" <guptan@netscout.com> [2007:08:20:10:03:21-0400] scribed:
> Hi,
>
> We have our network application that forwards the SNMP alarms to TEC.
> One of the varbind contains the severity(1 or 2 or 3 etc). How we can
> map that severity to TEC severities in CDS files. Please advice.
>
> Thanks,
>
> Narendra Gupta
Following is one (1) example (from tecad_nv6k.cds) that we have been
using for several years.
BEFORE:
CLASS TEC_ITS_FATAL_ERROR
SELECT
1: ATTR(=,$ENTERPRISE) , VALUE(PREFIX, "1.3.6.1.4.1.2.6.3" ) ;
2: $SPECIFIC = 58851330 ;
3: ATTR(=, "nvObject" ) ;
4: ATTR(=, "nvEventDescr" ) ;
5: ATTR(=, "nvApplNbr" ) ;
FETCH
1: IPADDR($V3);
MAP
origin = $F1 ;
hostname = $V3 ;
msg = $V4 ;
category = $V5 ;
nvhostname = $ADAPTER_IP ; # Required for ALL TEC_ITS events
END
AFTER:
CLASS TEC_ITS_FATAL_ERROR
SELECT
1: ATTR(=,$ENTERPRISE), VALUE(PREFIX, "1.3.6.1.4.1.2.6.3" );
2: $SPECIFIC = 58851330;
3: ATTR(=, "nvObject" );
4: ATTR(=, "nvEventDescr" );
5: ATTR(=, "nvApplNbr" );
FETCH
1: IPADDR($V3);
MAP
category = $V5;
hostname = $V3;
msg = $V4;
nvhostname = $ADAPTER_IP;
origin = $F1;
severity = CRITICAL;
END
What do you think?
--
Best Regards,
mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know. The more I know, the more I know I don't know . . .
--
_______________________________________________ NV-L mailing list NV-L@lists.ca.ibm.com Unsubscribe:NV-L-leave@lists.ca.ibm.com http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [NV-L] NV 7.1.5 Linux - Automatic Discovery not working, Usman Taokeer |
|---|---|
| Next by Date: | [NV-L] ESE.automation and event forwarding, Blane.Robertson |
| Previous by Thread: | RE: [NV-L] Override Severity in Tivoli Enterprise Console, James Shanks |
| Next by Thread: | Re: [NV-L] Override Severity in Tivoli Enterprise Console, Jon Austin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web