IBM Enterprise Console manual Class Definition Statement File Changes

Models: Enterprise Console

1 194
Download 194 pages 8.78 Kb
Page 104
Image 104

Change alerts are generated when a condition changes state. These types of alerts are forwarded to any consoles and gateways that are currently attached to the agent management server. Change alerts cannot be cleared, since neither the agent or the management server maintains information about the alert (other than logging the alert). Console operators dismiss change alerts locally.

Resettable alerts are generated when a condition changes in a predefined manner. Resettable alerts can be cleared by a console operator, or by the agent itself for some alerts.

lanalertFSA-NW3-s1 TRAP-TYPE ENTERPRISE lanalertFSA-NW3 VARIABLES { managementServerName,

nodeName,

eventID, alertText

DESCRIPTION

"The LANAlert File Server Agent on NetWare 3.x has set a priority 1 alert."

:= 1 -- set-1

Class Definition Statement File Changes

The following is the entry for lanalertFSA-NW3-s1in the tecad_snmp.cds file:

CLASS lanalertFSA-NW3-s1

SELECT

1:ATTR(=,$ENTERPRISE),VALUE(PREFIX, "1.3.6.1.4.1.768.2"); 2:$SPECIFIC=1;

3:ATTR(=,"managementServerName");

4:ATTR(=,"nodeName");

5:ATTR(=,"eventID");

6:ATTR(=,"alertText");

MAP managementServerName=$V3; nodeName=$V4; eventID=$V5; alertText=$V6;

msg=PRINTF("The LANAlert File Server Agent on %s has set a priority 1 alert.",$V4);

END

The first line is the attribute or trap name. The first attribute (1:

ATTR(=,$ENTERPRISE) VALUE(PREFIX, 1.3.6.1.4.1.768.2) ;) specifies that this is an enterprise trap. The OID prefix is derived from the trap definition; trap lanalertFSA-NW3-s1 is of type ENTERPRISE lanalertFSA-NW3.

The enterprise OID prefix is 1.3.6.1.4.1 as specified in RFC1155-SMI, plus the appropriate object identifiers. From the following lines in the MIB file, the prefix can be expanded to 1.3.6.1.4.1.768.2:

nci

OBJECT

IDENTIFIER

::=

{

enterprises 768 }

lanalert

OBJECT

IDENTIFIER

::=

{

nci 2 }

The specific trap number is just a sequential numbering of trap definitions as defined in the MIB definition for lanalertFSA-NW3-s1TRAP-TYPE. In this case lanalertFSA-NW3-s1is the first and is denoted as follows:

2:$SPECIFIC=1;

The other attributes are derived from the trap expected object types. The definition for lanalertFSA-NW3-s1states that it contains the following information:

92IBM Tivoli Enterprise Console: Adapters Guide

Page 104
Image 104
IBM Enterprise Console manual Class Definition Statement File Changes