I do not see any simple nor easy way to achieve this. The trap is sent by
snmpcollect, who collects by interface number, not by interface
description. As currently designed, he does not gather that information,
so it is not included in the trap. Thus there is no mere manipulation of
the trap format that you could do to add it. Rather, you would have to
design a mechanism of your own to obtain it.
You could, for example, write a script to be launched from trapd.conf as a
hidden application every time this trap is received, and have it extract
the hostname and interface number from the incoming trap, and then do an
snmpget for .188.8.131.52.184.108.40.206.1.2.<instance> , which would return the
ifDescr for that interface. Then you could use that with the snmptrap
command to re-issue a trap of your own containing this new value. But as
you can see this would be a great deal of effort. As an alternative,
perhaps, you could look up the interface names in advance, and build a
table in a file, and have your script just get the matching name from
there. But you'd still have to re-issue the a trap of your own with this
new information added.
Anyone else have any ideas?
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
"Praveen Kumar" <Praveenkumar.firstname.lastname@example.org>
Sent by: email@example.com
04/12/2006 07:36 AM
Please respond to
I am running netview 7.1.4 on win2003.
Some of the SNMP collect status events generated by Netview has some
predefined format message. By looking at the tecad_nv6k.cds file, I could
see this description is mapped with a trap variable “nvEventDescr”
(Respective OID is 220.127.116.11.18.104.22.168.22.214.171.124). Since this preformatted event
description holds some value like instance number rather than the
description of that instance, this is not easily understandable.
I have two processors in a machine and started the collection for Max CPU
utilization. I set a threshold of 75%. When Event is triggered the
resulted event message comes as “<ExpressionName> <Instance Number>
threshold trigered (>=75.00): 80.00”. Here what I prefer is Instance
description rather than Instance number, which would be meaningful as well
as easily can be made out.
Would someone help me in resolving this issue?
Thanks in Advance,