Collect Apache LogDirSize in MB
Windows.Server.Webservice.LogdirectoryWatcher.Rule.LogDirWatcher.LogDirSize.Apache (Rule)
Description for the new performance collection rule.
Element properties:
Member Modules:
Source Code:
<Rule ID="Windows.Server.Webservice.LogdirectoryWatcher.Rule.LogDirWatcher.LogDirSize.Apache" Target="Windows.Server.Webservice.LogdirectoryWatcher.WebSite.Apache" Enabled="false" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows.Server.Webservice.LogdirectoryWatcher.Monitor.ThreeState.Test.Performance.Filtered">
<IntervalSeconds>3600</IntervalSeconds>
<SyncTime/>
<MonitorItem>Apache</MonitorItem>
<Key>$Target/Property[Type="Windows.Server.Webservice.LogdirectoryWatcher.WebSite.ApacheBase"]/Key$</Key>
<WarningThresholdMegaBytes>1000</WarningThresholdMegaBytes>
<ErrorThresholdMegaBytes>2000</ErrorThresholdMegaBytes>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>