nv-l

Re: [nv-l] format statement for "severity"

2002-04-17 09:29:06
Subject: Re: [nv-l] format statement for "severity"
From: "James Shanks" <jshanks AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 17 Apr 2002 09:29:06 -0400
"Severity" is not a property of the trap itself, but something you set in 
trapd.conf.  The format variables allow you to reference the parts of the 
incoming trap, and since severity is not one of them, there is no format 
for it.   The man page does tell you what the numeric values are that 
trapd uses for severity and how they map:
0       Cleared
1       Indeterminate
2       Warning
3       Minor
4       Critical
5       Major

So you decide what to pass to your script, either the numeric value or the 
text value of the severity which you yourself set when you configured the 
trap.
If it were a "Critical" trap then you have the choice to pass it as
/usr/OV/netscripts/fwscript.sh "$1" "$e" "$G" "$S" "$A" 4
or
/usr/OV/netscripts/fwscript.sh "$1" "$e" "$G" "$S" "$A" Critical

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
 





"D'Apice, Dominic" <D.D'Apice AT SAQ.qc DOT ca>
04/17/2002 09:10 AM

 
        To:     "'nv-l AT lists.tivoli DOT com'" <nv-l AT lists.tivoli DOT com>
        cc: 
        Subject:        [nv-l] format statement for "severity"

 

hello nv7.1 and aix 4.3.3

there exist a format statement for the severity field than i can give to a
script ?,  i mean in in option/event configuration/trap cust. snmp 
and automatic command option

i put : /usr/OV/netscripts/fwscript.sh "$1" "$e" "$G" "$S" "$A" 

There exist a parameter for severity ? i did not see in man trapd.conf

thank
> Dominic D'Apice
> Technicien informatique (OGEINF)
> Société des Alcools du Québec
> 2021 des futailles, Montréal Québec H1N 3M7
> * (514) 253-6015
> * D.D'Apice AT saq.qc DOT ca
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)





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