Using SiteName when deploying gateways to help manage alerts

When deploying the Operations Manager gateway role you can tag the gateway with a Site name.   Any alerts coming from an agent reporting to this gateway will now have it’s “Site” property populated with the site name you configured when deploying the gateway.  This can be really handy for building specific alert views and sending notifications. 

High level steps for deploying a gateway with a site name (Note: Deployment Guide Detailed steps are located here – Link):

  1. Request certificates for any computer in the agent, gateway server, management server chain
     
  2. Import those certificates into the target computers by using the MOMCertImport.exe tool
     
  3. On the Management server you plan to have the gateway report to, run the gateway approval tool.
    Microsoft.EnterpriseManagement.gatewayApprovalTool.exe /ManagementServerName=MyManagementServer.contoso.com
    /GatewayName=MyGatewayServer.contoso.dmz
    /SiteName=MyDMZSite /Action=Create  
  4. Install gateway software on gateway server.

 

Now you can create a new alert view in the monitoring space and configure “from a specific site” to the name of the site you configured when running the tool.  As an added bonus, in Operations Manger R2 you can easily configure notifications to use the “from a specific site” alert criteria from the Subscription wizard.   You can customize the format of the subject to display the name of the site by using “Site: $data/Context/DataItem/SiteName$” parameter.

 

Hope you find this useful.

 

Rob Kuehfus | System Center Operations Manager | Setup and Deployment Program Manager