Configuring Fault Acknowledgment
You can use the operations console to acknowledge faults in a Cisco UCS domain. This configuration helps to communicate with Cisco UCS for acknowledging alerts from the Operations Manager Console. You can configure this from any management server in the same management group.
This chapter includes the following sections:
Creating a Resolution State
A resolution state can be assigned to and is visible on all faults. However, you can only acknowledge Cisco UCS faults.
Step 1 In the Operations Manager application, click the
Go
tab in the menu bar.
Step 2 Choose
Administration
from the drop-down menu.
Step 3 Click the
Settings
node.
Step 4 In the right panel, double-click
Alerts
.
Step 5 On the
Alert Resolution States
tab, click
New
.
Step 6 In the
Add Alert Resolution
dialog box, do the following:
a. In the
Resolution State
field, enter a name for the resolution state.
We recommend that you use a name that enables you to easily recognize the resolution state. For example, UCS Acknowledged.
b. From the
Unique ID
drop-down menu, choose an ID for the resolution state.
The resolution state ID can be any available value between 1 and 254. The ID of 0 is reserved for the New state, and the ID of 255 is reserved for the Closed state.
c. Click
OK
.
Note You cannot acknowledge miscellaneous faults.
Creating a Channel
Step 1 In the Operations Manager application, click the
Go
tab in the menu bar.
Step 2 Choose
Administration
from the drop-down menu.
Step 3 Right-click the
Channels
node and choose
New Channel > Command
.
Step 4 On the
Description
page of the
Command Notification Channel
wizard, do the following:
a. In the
Channel Name
field, enter a name for the channel.
b. In the
Description
field, enter a description of the channel.
c. Click
Next
.
Step 5 On the
Settings
page of the
Command Notification Channel
wizard, do the following:
a. In the Full Path of the Command File field, enter the path to the command file.
For example,
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
b. In the
Command Line Parameters
field, enter the command line parameters for the channel.
-Command “& 'C:\ProgramData\Cisco\UCSM\Script\AcknowledgeFault.ps1'" -getDescription '$Data[Default='Not Present']/Context/DataItem/AlertDescription$' -getAlertSource '$Data[Default='Not Present']/Context/DataItem/ManagedEntityPath$\$Data[Default='Not Present']/Context/DataItem/ManagedEntityDisplayName$'
Note The Command line parameters must be configured correctly for acknowledging the UCS faults from Operations Manager.
c. In the
Startup Folder for the Command Line
field, enter the startup folder name.
C:\ProgramData\Cisco\UCSM\Script
Note Verify the path and location of the script first.
Step 6 Click
Finish
.
Ensure that the script AcknowledgeFault.ps1 exists at the path specified in
Step 5
on each and every Management Server or Operations Manager Agent Machine hosting Cisco UCS Management Service.
Creating a Subscriber and Subscription
Step 1 In the Operations Manager application, click the
Go
tab in the menu bar.
Step 2 Choose
Administration
from the drop-down menu.
Step 3 Expand the
Notifications
node.
Step 4 Right-click
Subscriptions
and choose
New Subscription
.
Step 5 On the
Description
page of the
Notification Subscribers
wizard, do the following:
a. In the
Subscriber Name
field, enter a name for the subscription.
b. In the
Description
field, enter a description of the channel.
Step 6 Click
Next
.
Step 7 On the
Criteria
page of the
Notification Subscription
wizard, do the following:
a. In the
Conditions
pane, check the
With Specific Resolution State
check box.
b. In the
Criteria Description
pane, click the
Specific
link.
c. In the
Select Resolution States to Search For
pane of the
Resolution State
wizard, check the resolution state that you created and click
OK
.
d. Click
Next
.
Step 8 On the
Subscribers
page of the
Notification Subscription
wizard, click
New
to create a new subscriber.
Step 9 In the
Subscriber Name
field, enter a name for the subscriber.
Step 10 Click
Next
.
Step 11 On the
Schedule
page of the
Notification Subscribers
wizard, do the following:
a. Click one of the following radio buttons to choose the notification schedule you want to use:
–
Always Send Notifications
—Sends notifications at all times on all days.
–
Notify Only During the Specified Times
—Enables you to specify the days and times during which you want Operations Manager to send notifications.
b. Click
Next
.
Step 12 On the
Addresses
page of the
Notification Subscribers
wizard, click
Add
to add an address where you want to have notifications sent.
Step 13 On the
General
page of the
Subscriber Address
wizard, do the following:
a. In the
Address Name
field, enter a name that you can use to identify the notification address.
b. Click
Next
.
Step 14 On the
Channel
page of the
Subscriber Address
wizard, do the following:
a. From the
Channel Type
drop-down list, choose
Command
.
a. From the
Command Channel
drop-down list, choose the channel created in
Creating a Channel.
b. Click
Next
.
Step 15 On the
Schedule
page of the
Subscriber Address
wizard, do the following:
a. Click the
Always Send Notifications
radio button.
b. Click
Finish
.
The subscriber address is created and displayed in the
Subscriber Address
pane of the
Addresses
page of the
Notification Subscribers
wizard.
Step 16 On the success notification page of the
Notification Subscribers
wizard, click
Finish
.
The subscriber address is displayed in the
Selected Subscribers
pane of the
Addresses
page of the
Notification Subscribers
wizard.
Step 17 On the
Subscribers
page of the
Notification Subscription
wizard, click
Next
.
Step 18 On the
Channels
page of the
Notification Subscription
wizard, click
Add
to add the channel that you have just created.
Step 19 In the
Channel Search
dialog box, do the following:
a. Click the channel you just created in the
Available Channels
pane.
If that channel is not visible in the
Available Channels
pane, you can search for it in the
Filter By
field.
b. Click
Add
to add the channel to the
Selected Channels
pane.
c. Click
OK
.
Step 20 On the
Channels
page of the
Notification Subscription
wizard, do the following:
a. In the Alert Aging field, click the
Send Notifications Without Delay
radio button.
b. Click
Next
.
Step 21 On the
Summary
page of the
Notification Subscription
wizard, do the following:
a. Review the details of your subscription in the
Confirm Notification Subscription Settings
pane.
b. If all the details are correct, check the
Enable This Notification Subscription
check box.
If one or more of the details are incorrect, click
Previous
and correct the misconfiguration.
c. Click
Finish
.
Step 22 On the success notification page of the
Notification Subscription
wizard, click
Close
.
Creating a Windows Firewall Inbound Rule
Create a Windows firewall inbound rule to open port 8732 in all the machine running Cisco UCS management service. This enables the AcknowledgeFault powershell script to communicate with the Cisco UCS management service.