You are getting this message because one of the required elements for an addtrap
to be successful is missing. From what I can see it is the enterprise id, which
is specified with the "-i" parameter. My guess is that when you ran mib2trap
against that file that you got an error message which basically said that
mib2trap could not determine the enterprise id, and so it was omitted from the
addtrap command which was built. You will have to determine what that
enterprise id should be and add it to the addtrap command in order for it to
work. It will begin with .1.3.6.1.4.1.2 which is the identifier down to IBM,
but after that it will be unique to the 8272. You will probably have to look at
the mibfile which you used with mib2trap and work backwards to the other MIB(s)
it relied on. Since mib2trap works on MIB files and not on the database, it
cannot know what others should be referenced.
Hope this helps
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
"Ray Westphal" <rwestphal@erac.com> on 10/06/2000 05:37:15 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
To: "NV List (E-mail)" <nv-l@tkg.com>
cc: (bcc: James Shanks/Tivoli Systems)
Subject: [NV-L] addtrap problem
Hello Everone.
Here's an excerpt from an script created by mib2trap command against
trs_402b.trp file. This file is shipped with the 8270
/usr/OV/bin/addtrap -l ibm8272TsTempThreshold -g 6 -s 1 \
-n ibm8272TsSys \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "This trap is generated when the system temperature
either exceeds 50 C or when it returns to normal(45 C)
after exceeding the temperature. The variable
ibm8272Ts2SysTemperature indicates the temperature
condition at the time of the event." \
-e ibm8272TsTempThreshold \
-F '$E $G $S $# args: $*'
The addtrap fails with the following message.
If arguments contain space, use the double quotation mark.
I've tried a number of things. Does anyone have a suggestion?
Thanks.
Ray Westphal
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|