Ray -
Your procedure is basically correct.
For any AIX system, you can obtain the errpt identifiers in use by issuing
errpt -t
which gives you the current list of error templates, as they are called.
Be careful to check that they are the same on each server. When AIX wants
to add more information to a template they just create a new one and issue
that rather than alter the old one. The numbers for CORE_DUMP , for
example, have changed between AIX 3.2.5, AIX 4.1, and AIX 4.3.3. Each
version of the OS add more information to the record, so each one issues a
different template , with a different number, for the same condition.
Once you have a list of templates you want trapgend to alert on , you must
make them alertable. To see which ones are already, you would issue:
errpt -tF alert=1
If you have more than what are there already, you must tell AIX to add the
ones you want.
For example, if you wanted to have OPMSG (the errlogger command result) be
alertable, then you would get its number AA8AB241 from errpt -t, and then
type in:
errupdate (press enter)
= AA8AB241: (press enter)
Alert=TRUE (press enter; then either continue with " = <the
next number>:" or ctrl-d ctrl-d to quit.
Now AIX will notify trapgend when these errors are generated. trapgend in
turn will send them as traps.
Finally, you would convert their hex error ids (e.g AA8AB241) to decimal
(2861216321) and define those as specific trap ids under the NetView
subagent enterprise id (1.3.6.1.4.1.2.6.4) using xnmtrap on your NetView
box.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"Westphal, Raymond" <RWestphal@erac.com>
06/27/2002 04:17 PM
To: "NV List (E-mail)" <nv-l@lists.tivoli.com>
cc:
Subject: [nv-l] trapgend setup
Hello Everyone.
NV 7.1.2 on AIX 4.3.3.
I'm trying to setup trapgend on my servers to notify me of hardware class
errors. Then I'd like to setup NetView rulesets to page me.
I know a few of the errors for which I'd like to see traps and page with
rulesets. For example:
IDENTIFIER LABEL SOFTWARE PROGRAM ERROR
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5DFED6F1 JFS_FS_FRAGMENTED UNABLE TO
ALLOCATE SPACE IN FILE
SYSTEM
369D049B JFS_FS_FULL UNABLE TO ALLOCATE SPACE IN
FILE SYSTEM
4865FA9B TAPE_ERR1 TAPE OPERATION ERROR
476B351D TAPE_ERR2 TAPE DRIVE FAILURE
499B30CC GXENT_LINK_DOWN ETHERNET DOWN
Does anybody have a list of the errpt identifiers that they can share?
Then I will need to convert the hex identifier to a decimal number and add
the trap and define ruleset. Correct?
Thanks.
Ray Westphal
Enterprise Rent-A-Car
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.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)
|