B.2 The Event Debugger

The Event Debugger is a tabbed page available from the Explorer view of an Event object when you select an event and then click the Event Debugger tab. This tool helps you to determine the reasons for the current state (triggered or reset) of an Event. The following figure shows the Event Debugger view.

Figure B-4 The Event Debugger

The information in this section describes the various parts of the debugger.

B.2.1 The Constraints Table

The left side of the Event Debugger panel includes the Constraints Table. The rules that define the <trigger> and <reset> of an Event are defined using the same XML constraint syntax used in policies.

Figure B-5 The Constraints Table Area of the Events Debugger

The Constraints Table has several parts:

Match Context

Depending on the Event, the debugger identifies the Grid objects (Job, Jobinstance, Resource, Repository, User, or VMHost) that define the context of the trigger or reset rules specified in the Event XML.

Figure B-6 The Match Context Area of the Constraints Table View in the Event Debugger

Event Type List

Select one of the Event types in the drop down list to debug how either the <trigger> or <reset> rule(s) are being applied. Constraint types in the list are disabled (dimmed) if they do not apply to the Event that you are debugging.

  • trigger: The rules defining the conditions (through a constraint) in which an Event is generated.

  • reset: The rules defining the conditions (through a constraint) in which an Event is reset (that is, able to be triggered again).

Verbose Check Box

When you select the Verbose check box, additional constraint information is displayed.

Constraints List (Tree)

The Constraints Tree, a column in the constraints table, lists the constraints that constitute a particular rule in a hierarchical view.

Each constraint is flagged with an icon to signify whether it “passes” or not. A constraint flagged with an exclamation point indicates a constraint causing the rule to not “pass.”

Right-click on a constraint to expose a menu where you can perform one of the following actions:

Show Admin View: Selects the currently evaluated Grid object in the Explorer Tree and displays its Info/Groups administration information view.

Disable Constraint: “Passes” the constraint, regardless of how it evaluates.

Enable All Constraints: Re-enables any disabled constraints.

NOTE:The right-click menu is available only when you select specific constraints.

B.2.2 The Facts Table

The Facts Table view displays the facts referenced in the Constraint Tree view for a specified Event. Selecting a rule containing a particular fact in the Constraint tree automatically selects that fact (and its current value) in the table.

Figure B-7 The Facts Table View

If you right-click a column head in this table, a menu is launched where you can select the columns that you want to display.

Figure B-8 Menu Used to Select the Columns Displayed in the Facts Table View of the Policy Debugger

All Facts Check Box: If you select the All Facts check box at the top of the Facts Table view, all facts for the selected Grid object, as well as those for the Server itself (matrix.* facts) are displayed.

If you right-click a fact, you have the option of adding a new fact, deleting the selected fact, or viewing/editing (if the fact is editable or can be deleted) the selected fact.