9.2. Создание и использование ситуаций

9.2.1. Creating a situation

Use the following procedures to create a situation:

Creating a new situation on Windows

9.2.1.1. Creating a new situation on Windows

First, create a situation to monitor whether the Windows(R) Alerter service is running.

1.Start the Tivoli Enterprise Portal client, as described in Viewing default situations.

2.Expand Windows Systems in the navigation tree.

3.Expand the computer where you are working.

4.Expand Windows OS.

5.Right-click System and click Situations.

6.In the Situation editor, click the Create new Situation icon.

7.Type My_Situation in the Name field and click OK.

8.Select NT_Services in the Attribute Group list and Service Name in the Attribute Item list. Click OK.

9.In the Formula pane, click the field in Row 1 under Service Name.

10.Type Alerter. This input is case-sensitive.

Note:

Ensure that the Alerter service is not disabled.

11.Click Add conditions.

12.Select Start Type in the Attribute Item list and click OK.

13.Click the field in Row 1 under Start Type.

14.Click Automatic in the drop-down list.

Note:

If the Alerter service on your computer is not configured to start automatically, select the type of start that matches the start type of the Alerter service on your computer.

15.Click Add conditions.

16.Select Current State in the Attribute Item list and click OK.

17.Click the field in Row 1 under Current State.

18.Type Stopped.

19.Change the Sampling Interval to 30 seconds by typing 30 in the ss box and 0 in the mm box.

20.Click the Distribution tab and ensure that the host name for your computer is listed in the Assigned list. The situation is monitored at this computer.

21.Click OK.

Next, stop the Alerter service to trigger the situation. Use the following steps:

1.Open a command line window.

2.Type the following command and press Enter:

net stop Alerter

Now, return to the Tivoli Enterprise Portal to see the situation event. In the Navigation tree, click Enterprise to display the Enterprise Status workspace, which might take up to 30 seconds to display. An event is listed in the Situation Event Console on Enterprise View, and red Xs are displayed for Windows Systems, Windows OS, and System.