35
ASAP 2.0 Discrete Object Thresholds (DOTs) September 17, 2001 [email protected]

ASAP 2.0 Discrete Object Thresholds (DOTs)

  • Upload
    boyce

  • View
    37

  • Download
    0

Embed Size (px)

DESCRIPTION

ASAP 2.0 Discrete Object Thresholds (DOTs). September 17, 2001 [email protected]. ASAP 2.0 DOTs. Monitored Domains Objectives Events. Controlling Monitored Domains. ASAP auto-configuration All objects CPU, DISK, PROCESSBUSY, RDF, TAPE, TMF Selected objects FILE-ASAPMON - PowerPoint PPT Presentation

Citation preview

Page 1: ASAP 2.0 Discrete Object Thresholds (DOTs)

ASAP 2.0 Discrete Object Thresholds (DOTs)

September 17, 2001

[email protected]

Page 2: ASAP 2.0 Discrete Object Thresholds (DOTs)

2

ASAP 2.0 DOTs Monitored Domains Objectives Events

Page 3: ASAP 2.0 Discrete Object Thresholds (DOTs)

3

Controlling Monitored Domains ASAP auto-configuration

– All objects CPU, DISK, PROCESSBUSY, RDF, TAPE, TMF

– Selected objects FILE - ASAPMON PROCESS - $<ASAP-id>M SPOOLER - $SPLS

DOTs lets you control the domains (objects) that ASAP monitors

Monitored objects support is encapsulated in the ASAP MONITOR command

Page 4: ASAP 2.0 Discrete Object Thresholds (DOTs)

4

Taking Ownership When you add an object (domain) to be monitored,

you are assuming control of the ASAP configuration for that entity

MONITOR DISK $DATA– Only $DATA will be monitored

MONITOR DISK $DATA, OFF– No “ON” records, but records do exist– No disks will be monitored

MONITOR DISK $DATA, DELETE– ASAP auto-configures all disks again

Page 5: ASAP 2.0 Discrete Object Thresholds (DOTs)

5

Commit Processing MONITOR (and RANK) commands add records to

the Objectives database, not to a running copy of ASAP

Database is read at ASAP startup time Database is re-read online by a running ASAP

component when it receives a COMMIT request Two ways to commit monitored objects

– MONITOR <entity>, COMMIT– COMMIT

Page 6: ASAP 2.0 Discrete Object Thresholds (DOTs)

6

The Objectives Database To set the objectives database file name

– SET OBJECTIVESDB To turn on auditing of the objectives database

– SET OBJECTIVESAUDIT MONITOR (RANK) commands ask ASAPMON for

the Objectives database file name To change to database from ASAP CI, change the

ASAP ID, not OBJECTIVESDB Only if ASAPMON is not running or does not respond

is the file specified in the SET OBJECTIVESDB used

Page 7: ASAP 2.0 Discrete Object Thresholds (DOTs)

7

The Objectives Database

SET ID $SG SET OBJECTIVESAUDIT ONSET OBJECTIVESDB $mm.joedb.testme+m expandOpened ObjectivesDB: \Centdiv.$Mm.Joedb.TestmeExpand \Centdiv On - $Abc+set objectivesdb $system.zasap.dbobjs+m expandExpand \Centdiv On - $Abc+

New database is notopened !

ASAPMON $SGMreturned this name

Page 8: ASAP 2.0 Discrete Object Thresholds (DOTs)

8

The Objectives Database

SET ObjectivesDB $mm.joedb.testme+m expandOpened ObjectivesDB: \Centdiv.$Mm.Joedb.TestmeExpand \Centdiv On - $Abc+set id $zoo+m expandOpened ObjectivesDB: \Centdiv.$System.Zasap.DbobjsExpand \Centdiv On - $Lhchi On - $Lhcomm On - $Lhdome On - $Lheast+

New database isopened !

Page 9: ASAP 2.0 Discrete Object Thresholds (DOTs)

9

The Objectives Database The Objectives database is distributed, it resides on

each node monitored by ASAP The database on a node contains information for

objects on its node

+m process $abcOpened ObjectivesDB: \Centdiv.$Mm.Joedb.TestmeProcess \Centdiv.$Abc, On +m process \dome.$abcOpened ObjectivesDB: \Dome.$Mm.Joedb.TestmeProcess \Dome.$Abc, On+

Page 10: ASAP 2.0 Discrete Object Thresholds (DOTs)

10

MONITOR Command

MONITOR [<entity>|*][\<node>] ,COMMIT [[.| ][<domain>]],ADD [,OFF ]

,ON ,OFF ,DELETE ,INFO [,DETAIL ] [,OBEYFORM] ,DETAIL ,OBEYFORM ,LIST [,DETAIL ] ,REMOVE [,FORCE ]

Disks on \Centdiv Monitored?$BR Yes$CO Yes$DSV No$MC Yes$MM Yes$RTOOL1 No$SYSTEM Yes

Page 11: ASAP 2.0 Discrete Object Thresholds (DOTs)

11

Domain name space CPU <cpu-number> DISK $<disk-device-name> EXPAND [Path\|Line\]$<line-name> FILE $<subvolume-name>|$<file-name> PROCESS $<process-name> PROCESSBUSY <cpu-number> RDF <node1><node2> (no backslashes) SPOOLER $<supervisor-name> SYSTEM n/a TAPE $<tape-device-name> TMF AUDITDUMP | AUDITTRAIL | TMF |

TRANSACTION

NODE is not supported

Page 12: ASAP 2.0 Discrete Object Thresholds (DOTs)

12

MONITOR Command ADD [, OFF]

– Adds an object to the Objectives database

– Automatically turns object ON (unless OFF)

– The default when a domain name is specified without wildcards

ON– Turns an object in the database ON

OFF– Turns an object in the database OFF

COMMIT– Commits database changes to a running copy of ASAP

Page 13: ASAP 2.0 Discrete Object Thresholds (DOTs)

13

MONITOR Command DELETE

– Deletes a domain from the Objectives database

– Commands must be entered twice to delete non-specific domains

INFO [, DETAIL | OBEYFORM ]– Displays information about domains in the database

DETAIL– Displays ADD, ON and OFF times for domain(s)

OBEYFORM– Outputs domains in Obey format for replay

Page 14: ASAP 2.0 Discrete Object Thresholds (DOTs)

14

MONITOR Command LIST [, DETAIL]

– Returns information about domains directly from running ASAP components

– DETAIL returns subsystem-specific detailed information about domains

– Also supported for user-defined entities

REMOVE [, FORCE]– For user-defined entities only

– Removes DOWN domains from ASAPX

– FORCE forces removal of a domain regardless of its state

Page 15: ASAP 2.0 Discrete Object Thresholds (DOTs)

15

MONITOR Examples MONITOR CPU 2 MONITOR DISK $DATA M EXPAND $EX23 M FILE $SYSTEM.SYSTEM, ADD, OFF M PROCESS \REMOTE.$ZTC0 M PROCESSBUSY \REMOTE.2 M RDF CHICAGODENVER M SPOOLER $S2LS M SYSTEM M TAPE \REMOTE.$TAPE3 M TMF AUDITTRAIL

Page 16: ASAP 2.0 Discrete Object Thresholds (DOTs)

16

MONITOR Examples MONITOR CPU *,INFO MONITOR ATM, LIST, DETAIL MONITOR ATM CHICAGO\TEST\ATM24, REMOVE M EXPAND \REMOTE M FILE \REMOTE.*, OFF M PROCESS \REMOTE.CPU *,DELETE M PROCESS \REMOTE.CPU *,DELETE (enter twice)

Page 17: ASAP 2.0 Discrete Object Thresholds (DOTs)

17

Objectives DOTs provides the ability to set up to 6 discrete

objectives on any system or user-defined attribute where StatePair is YES in EDL, and where the attribute is not the StateIsOp attribute

The attribute must be immediately followed by an associated state attribute in the EDL file

Objectives processing is encapsulated in the ASAP RANK command

Page 18: ASAP 2.0 Discrete Object Thresholds (DOTs)

18

RANK Command Use the RANK command to establish discrete

objectives RANK DISK, BUSY < 35

– Sets a global objective for all disks– Disks must be less than 35 percent busy

RANK DISK $BR, BUSY < 50 – Sets a specific objective on $BR– $BR must be less than 50 percent busy

Page 19: ASAP 2.0 Discrete Object Thresholds (DOTs)

19

RANK Command

+ra disk,busy < 35Disk \Centdiv Busy < 35WARNING - Use COMMIT to place database changes into production use.+ra disk $br, busy < 50Disk \Centdiv.$Br Busy < 50+coDisk \Centdiv objective(s) committed.+

Page 20: ASAP 2.0 Discrete Object Thresholds (DOTs)

20

RANK Command

RANK [<entity>|*][\<node>] ,COMMIT [.| ]][<domain>]],<rankspec> [,<rankspec>,...] ,LIKE <domain> ,ACTIVATE ,DEACTIVATE ,DELETE ,INFO [,OBEYFORM ] ,OBEYFORM ,LIST

Page 21: ASAP 2.0 Discrete Object Thresholds (DOTs)

21

RANK Command <rankspec>, <rankspec>, ...<attr> <oper> [<val>] [,INFO | CRITICAL [,REPEAT] [,NODISPLAY]]STATUS [,INFO | CRITICAL [,REPEAT] [,NODISPLAY]]STATUS [,NOEMS]

<attr>– The name of an attribute name as defined in ASAP EDL for the entity. The attribute must be defined with StatePair Yes and it cannot be the StateIsOp attribute.

<oper>– One of the 6 operators, >, <, =, <>, >=, <=.

<val>– The objective value– Depends on the attribute data type

Page 22: ASAP 2.0 Discrete Object Thresholds (DOTs)

22

RANK Command STATUS

– The StateIsOp attribute as defined in EDL.

– Can only be used with EMS control keywords.

– Cannot be used to set objectives on the value of Status. RANK CPU, STATUS = “UP” is invalid!

– Is used to change the default behavior for event generation for status changes of system domains.

– Is used to turn on and define event generation for status changes in user-defined domains.

Page 23: ASAP 2.0 Discrete Object Thresholds (DOTs)

23

RANK Command INFO

– Generate an Info event if the objective is not met

CRITICAL– Generate a Critical event

REPEAT– Repeat the event for each interval the alert persists.

NODISPLAY– Suppress event display on the console.

NOEMS– Used only with the STATUS attribute.– Stops display of Status events for System entities.

Page 24: ASAP 2.0 Discrete Object Thresholds (DOTs)

24

RANK Command ACTIVATE

– Activates a domain(s) which was previously deactivated

COMMIT– Commits database changes to a running ASAP

DEACTIVATE– Deactivates a domain (DOTs returns OEM State 1)

DELETE– Deletes a record from the Objectives database

– Commands must be entered twice to delete non-specific domains

Page 25: ASAP 2.0 Discrete Object Thresholds (DOTs)

25

RANK Command INFO [, OBEYFORM]

– Displays objectives information from the database

LIKE <domain>– Adds ranking for a domain like <domain>

– Specific ranks follow LIKE

LIST– Lists actual in-use objectives for a domain from a running

ASAP component(s)

– Fully qualified domain names only

OBEYFORM– Outputs information is Obey file format for replay

Page 26: ASAP 2.0 Discrete Object Thresholds (DOTs)

26

RANK Examples RANK CPU, BUSY > 10, BUSY < 90 RANK FILE $SYSTEM.SYSTEM.USERID, RWEP = “OOOO” RANK PROCESS $ABC, PSTATE = RUNNABLE RANK SPOOLER $SPLS\COLL\$S,FULLPCT < 80 RANK TMF RANK TMF, STATUS NOEMS RANK SPOOLER, STATUS CRITICAL REPEAT RANK ATM CHICAGO\$ATM2, STATUS CRITICAL REPEAT RANK DISK $DATA, LIST

Page 27: ASAP 2.0 Discrete Object Thresholds (DOTs)

27

Objectives - Thresholding Out-of-box defaults are UseThreshold GraphMax and Threshold sliders determine alerting

Page 28: ASAP 2.0 Discrete Object Thresholds (DOTs)

28

Discrete Objectives Must turn OFF

“Use Thresholds”

Must turn ON “Use State - Graph State” or “Use State - Graph Value”

May use the State Determination ALL button

Page 29: ASAP 2.0 Discrete Object Thresholds (DOTs)

29

Objectives - Standard Ranking

Page 30: ASAP 2.0 Discrete Object Thresholds (DOTs)

30

Objectives - Percent Ranking

0-5%

15-24%

25-34%

35-44%

> 44%

6-14%

Page 31: ASAP 2.0 Discrete Object Thresholds (DOTs)

31

Objectives - Historical Ranking Uses Percent

method and the last state reported

Minor problems increase in alerts levels over time if they persist

Page 32: ASAP 2.0 Discrete Object Thresholds (DOTs)

32

Events By default DOTs will generate an EMS CRITICAL

event for any System object for Status changes, IF– events are turned on

SET OBJECTIVESEVENT ON Default is OFF due to richness of ASAP Client displays

– the operational state is greater or equal to event state SET OBJECTIVESEVENTSTATE <state> Default is CRITICAL (state 7) resulting in CRITICAL and

DOWN Status events– maximum events haven’t already been written

SET OBJECTIVESEVENTMAX <n> Default is 1

Page 33: ASAP 2.0 Discrete Object Thresholds (DOTs)

33

Events DOTs will generate an EMS INFO or CRITICAL

event when an attribute fails to meet an objective, IF– events are turned on

SET OBJECTIVESEVENT ON– the state is greater or equal to event state

SET OBJECTIVESEVENTSTATE <state>– maximum events haven’t already been written

SET OBJECTIVESEVENTMAX <n>– the objective was specified using event keywords

RANK DISK $DATA, BUSY < 40 CRITICAL– the event wasn’t already written in a prior interval

INFO | CRITICAL [ REPEAT ]

Page 34: ASAP 2.0 Discrete Object Thresholds (DOTs)

34

Events - Other Controls To generate UP events for repaired attributes

– SET OBJECTIVESEVENTUP ON

– Default is OFF

To suppress display of DOWN events on the console– SET OBJECTIVESEVENTCONSOLE OFF

– Default is ON

To suppress display of UP events on the console– SET OBJECTIVESEVENTCONSOLEUP OFF

– Default is ON

Page 35: ASAP 2.0 Discrete Object Thresholds (DOTs)

35

Events Examples ASAPCONF file

– SET OBJECTIVESEVENT ON

– SET OBJECTIVESEVENTUP ON

– SET OBJECTIVESEVENTMAX 2

– SET OBJECTIVESEVENTSTATE WARNING

RANK Examples– RANK CPU, BUSY < 99 CRITICAL REPEAT

– RANK CPU, STATUS CRITICAL REPEAT

– RANK CPU, QUEUE < 2 INFO

– RANK PROCESS $XYZ, STATUS NOEMS