示例配置文件格式

 

上一次修改主题: 2006-04-11

此部分包含启用客户前端监视的代码示例。

此示例配置文件可启用客户前端监视。

<Configuration>
  <AdministrativeGroups>
    <AdministrativeGroup>
      <AdministrativeGroupName>First Administrative Group</AdministrativeGroupName>
      <Servers>
        <FrontEnd>
          <ServerName>MAILSRV</ServerName>
          <FrontEndAvailabilityMonitoring>
            <Enabled>true</Enabled>
            <BackEndAccount>customBEAcct</BackEndAccount>
          </FrontEndAvailabilityMonitoring>
        </FrontEnd>
      </Servers>
    </AdministrativeGroup>
  </AdministrativeGroups>
</Configuration> 

此示例配置文件是针对一台计算机的典型配置。

<Configuration>
  <AdministrativeGroups>
    <AdministrativeGroup>
      <AdministrativeGroupName>First Administrative Group</AdministrativeGroupName>
      <Servers>
        <BackEnd>
          <ServerName>MAILSRV</ServerName>
          <MonitorMessageTracking>true</MonitorMessageTracking>
          <MailBoxAccessAccount>
            <Username>mbaccess</Username>
            <Domain>tidev</Domain>
          </MailBoxAccessAccount>
          <ServicesToMonitor>
            <ServiceName>MSExchangeIS</ServiceName>
            <ServiceName>MSExchangeMGMT</ServiceName>
            <ServiceName>MSExchangeMTA</ServiceName>
            <ServiceName>MSExchangeSA</ServiceName>
            <ServiceName>SMTPSVC</ServiceName>
            <ServiceName>W3SVC</ServiceName>
          </ServicesToMonitor>
          <MDBAvailabilityMonitoring>
            <MDBToMonitor>
              <StorageGroup>SG01</StorageGroup>
              <MDBName>mailboxStore01</MDBName>
              <TestMailBox>MAILSRVMOM</TestMailBox>
            </MDBToMonitor>
          </MDBAvailabilityMonitoring>
          <MailFlowMonitoring>
            <SendMailtoServer>OTHERMAILSRV</SendMailtoServer>
            <SendMailtoServer>MAILSRV</SendMailtoServer>
            <ExpectMailFrom>OTHERMAILSRV</ExpectMailFrom>
            <ExpectMailFrom>MAILSRV</ExpectMailFrom>
            <TestMailBox>MAILSRVMOM</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
      </Servers>
    </AdministrativeGroup>
  </AdministrativeGroups>
</Configuration>

此示例文件可配置邮件流。

<Configuration>
  <AdministrativeGroups>
    <AdministrativeGroup>
      <AdministrativeGroupName>SouthAmerica</AdministrativeGroupName>
      <Servers>
        <BackEnd>
          <ServerName>BOLIVIA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct01</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
        <BackEnd>
          <ServerName>ARGENTINA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct02</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
      </Servers>
    </AdministrativeGroup>
    <AdministrativeGroup>
      <AdministrativeGroupName>Africa</AdministrativeGroupName>
      <Servers>
        <BackEnd>
          <ServerName>KENYA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct03</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
        <BackEnd>
          <ServerName>NIGERIA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct04</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
      </Servers>
    </AdministrativeGroup>
    <AdministrativeGroup>
      <AdministrativeGroupName>Oceania</AdministrativeGroupName>
      <Servers>
        <BackEnd>
          <ServerName>AUSTRALIA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct05</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
      </Servers>
    </AdministrativeGroup>
    <AdministrativeGroup>
      <AdministrativeGroupName>NorthAmerica</AdministrativeGroupName>
      <Servers>
        <BackEnd>
          <ServerName>MEXICO</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct06</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
        <BackEnd>
          <ServerName>CANADA</ServerName>
          <MailFlowMonitoring>
            <ExpectMailFrom>COLOMBIA</ExpectMailFrom>
            <TestMailBox>customAcct07</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
        <BackEnd>
          <ServerName>COLOMBIA</ServerName>
          <MailFlowMonitoring>
            <SendMailtoMailbox>customAcct01</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct02</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct03</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct04</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct06</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct05</SendMailtoMailbox>
            <SendMailtoMailbox>customAcct07</SendMailtoMailbox>
            <SendMailtoServer>Custom</SendMailtoServer>
            <TestMailBox>customAcct08</TestMailBox>
          </MailFlowMonitoring>
        </BackEnd>
      </Servers>
    </AdministrativeGroup>
  </AdministrativeGroups>
</Configuration>
 
显示: