Managing event suppression with the CLI


Event suppression enables you to prevent TrueSight Middleware and Transaction Monitor from sending notifications when event conditions have been met. Such times can occur during routine maintenance, scheduled downtime, or other times. The Manage Event Suppression command line tool allows the user to add, view and delete event suppression periods.

Events are suppressed by object, which means that you must set up event suppression for every object in the system for which you do not want alerts during the downtime. If you select to stop events from firing for an object, then every object under that object is also suppressed.

Examples

  • If you suppress events from firing on a queue manager, any alerts that you have defined for queues, channels, or processes are also suppressed.
  • If you select to suppress a node, all events for queue managers, databases, servers, or brokers under that node are suppressed.

You can manage event suppression from either the Monitor Console or the command line interface (CLI).

 Click to view examples of how to use the CLI to manage event suppression...

To add a single event suppression period

ManageEventSuppression –u SA –p BMCSOFTWARE add BMC-BZDMXV1x!WDTJ!test01 ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager!ComMQSoftwareWebSphereMQLocalQueue "1/1/2012 10:00 am" "12/31/2012 12:00 pm" NONE

To get a list of all event suppression periods for a specific object

ManageEventSuppression –u SA –p BMCSOFTWARE get BMC-BZDMXV1x!WDTJ!test01 ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager!ComMQSoftwareWebSphereMQLocalQueue

To get a list of all event suppressions in CSV format

ManageEventSuppression –u SA –p BMCSOFTWARE –c getall

To delete all the event suppressions for a queue manager and its child objects:

ManageEventSuppression –u SA –p BMCSOFTWARE --descendents delete BMC-BZDMXV1x!WDTJ ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager

The following procedures describe how to manage event suppression from the CLI:


Was this page helpful? Yes No Submitting... Thank you

Comments

  1. John Edelmann

    I am using Chrome, but unlike the scroll bars that BMC support just showed me with the support page, there are none here.

    https://docs.bmc.com/docs/TMTM/81/managing-event-suppression-with-the-cli-642529787.html is the site i'm on.

    Apr 24, 2020 03:02
    1. Dov Kaiser

      Hi, John. Thanks for contacting us!

      This web page displays two scroll bars:

      One at the right side of the main pane:

      Another at the right side of the topic pane:

      If you expect to see another scroll bar, please describe its location.

      Apr 27, 2020 04:37
  2. Steve Meschke

    Dov, I did a Webex with this customer and we saw inconsistencies with horizontal scroll bars showing up. The page in question has a command example that is wider than the page. It displayed OK for me but did not display correctly for him. Also each browser seems to handle this differently.

    Apr 27, 2020 08:54