此规则收集 Apache HTTP 服务器进程的已用内存总计 (KB)
此规则收集 Apache HTTP Server\Used Memory Kbytes 性能计数器的性能数据。在性能视图和报表中可以访问收集的值。
此指标显示 Linux 服务器上运行的 Apache HTTP 服务器进程使用的内存总计 (KB)。该值表示服务器进程的所有实例的已用内存总和
Target | Microsoft.ApacheHTTPServer.ManagedServer.Unix |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Oss.WSMan.ProcessEnumerator.PerfData | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.ApacheHTTPServer.ManagedServer.Unix.TotalUsedMemoryKB.Collection" Target="Microsoft.ApacheHTTPServer.ManagedServer.Unix" Remotable="true" Enabled="onStandardMonitoring">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Oss!Microsoft.Oss.WSMan.ProcessEnumerator.PerfData">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>$Target/Property[Type="Microsoft.ApacheHTTPServer.Installation"]/ProcessName$</ProcessName>
<ArgumentsFilterExpression/>
<Interval>300</Interval>
<ObjectName>Apache HTTP Server</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.ApacheHTTPServer.Installation"]/ConfFile$</InstanceName>
<CounterName>Used Memory Kbytes</CounterName>
<PropertyName>TotalUsedMemory</PropertyName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>