IIS 8 FTP 服务器发现
Microsoft.Windows.InternetInformationServices.6.2.FTPServer.Discovery.Rule (Discovery)
此规则在每台 IIS 8 Web 服务器上运行并检查 Windows Server 2012 附带的 FTP 服务的状态。默认情况下,此规则仅在 FTP 服务设置为自动启动时才返回发现数据。可以使用重写控制此行为。
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.InternetInformationServices.6.2.FTPServer.Discovery.Rule" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.6.2.ServerRole" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.6.2.FTPServer">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.Hosts.Microsoft.Windows.InternetInformationServices.6.2.FTPServer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.6.2.FTPServer.DiscoveryDataSource">
<IntervalSeconds>3600</IntervalSeconds>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<CheckStartupType>true</CheckStartupType>
</DataSource>
</Discovery>