Page tree

Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

In addition to managing blackouts using the BMC TrueSight Infrastructure Management administrator console and command-line interface commands, you can manage blackouts using an event.

To create a new blackout

From the command-line interface, use the msend command to create a new blackout.

CriteriaExample command
Selector namemsend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=WeekEnd_Blackout; blackout_Duration=2h;selector_name=ALL_Events"
Classmsend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=WeekEnd_Blackout; blackout_Duration=2h;based_on_class=ITDA_Event"
Timeframes msend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=WeekEnd_Blackout; include_time_frames=[tf_IT,tf_FINANCE]"

To update an existing blackout

From the command-line interface, use the msend command to update a new blackout.

You can update a blackout created using the administrator console, mposter command, or through an event.

If you update a blackout using a different "based_on_class" slot value, a new selector for that class is created. But if you update a blackout using the same "based_on_class" slot value, an existing selector is used.

CriteriaExample command
Slot, existing timeframe, same class msend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=WeekDays;include_time_frames=[TF_Tuesday]"
Slot, existing timeframe, different class msend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=WeekDays;include-time_frames=[TF_Monday];based-on_class=PATROL_EV"

To delete an existing blackout

From the command-line interface, use the msend command to delete a blackout.

You can delete a blackout created using the administrator console, mposter command, or through an event.

CriteriaExample command
Existing blackout msend -n <Cell name> -a BLACKOUT_EV -b "blackout_name=BO;delete_blackout=YES"

Related topics

Creating a new standard blackout policy

Creating a new component-based blackout policy

  • No labels