Поделиться через


Sample Configuration File Format

 

Последнее изменение раздела: 2006-04-11

This section contains a code example for enabling customer front-end monitoring.

Code Example

This sample configuration file enables customer front-end monitoring.

<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> 

This sample configuration file is the typical configuration for one computer.

<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>

This sample file configures mail flow.

<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>