GSX Monitoring

GSX.Monitor.2012.Template.Main (Template)

The template allows Windows Server with GSX Monitor to be discovered as Network Device.

Source Code:

<Template ID="GSX.Monitor.2012.Template.Main">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TemplateIdString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PrincipalName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IpAddress" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="GsxRunAsAccount" type="xsd:string"/>
</Configuration>
<References>
<Reference ID="Self"/>
<Reference ID="SC"/>
<Reference ID="System"/>
<Reference ID="Windows"/>
<Reference ID="SNL"/>
<Reference ID="MSIL"/>
</References>
<Implementation>
<TypeDefinitions>
<EntityTypes>
<ClassTypes>
<ClassType ID="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$" Base="SNL!System.NetworkManagement.Node" Accessibility="Public" Abstract="false" Hosted="false" Singleton="false"/>
</ClassTypes>
</EntityTypes>
</TypeDefinitions>
<Monitoring>
<Discoveries>
<Discovery ID="GSX.Monitor.2012.Discovery.NetworkDeviceDiscovery.$TemplateConfig/TemplateIdString$" Target="$Reference/SC$Microsoft.SystemCenter.RootManagementServer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$"/>
<DiscoveryRelationship TypeID="MSIL!Microsoft.SystemCenter.InstanceGroupContainsEntities"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="$Reference/Self$GSX.Monitor.2012.Discovery.NetworkDeviceDataSource">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<NetworkNodeClassId>$MPElement[Name="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$"]$</NetworkNodeClassId>
<PrincipalName>$TemplateConfig/PrincipalName$</PrincipalName>
<IpAddress>$TemplateConfig/IpAddress$</IpAddress>
<Port>161</Port>
<SnmpVersion>2</SnmpVersion>
<OID>.1.3.6.1.4.1.9617</OID>
</DataSource>
</Discovery>
</Discoveries>
<Overrides>
<SecureReferenceOverride ID="GSX.Monitor.2012.RunAsProfile.SnmpCommunity.$TemplateConfig/TemplateIdString$.Override" Context="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$" Enforced="false" SecureReference="$Reference/Self$GSX.Monitor.2012.RunAsProfile.SnmpCommunity">
<Value>$TemplateConfig/GsxRunAsAccount$</Value>
</SecureReferenceOverride>
<SecureReferenceOverride ID="GSX.Monitor.2012.SNMPMonitoringAccount.SnmpCommunity.$TemplateConfig/TemplateIdString$.Override" Context="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$" Enforced="false" SecureReference="$Reference/SNL$System.NetworkManagement.Snmp.MonitoringAccount">
<Value>$TemplateConfig/GsxRunAsAccount$</Value>
</SecureReferenceOverride>
</Overrides>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="GSX.Monitor.NetworkManagement.Node.$TemplateConfig/TemplateIdString$">
<Name>GSX Monitor Network Device for '$TemplateConfig/Name$' template</Name>
</DisplayString>
<DisplayString ElementID="GSX.Monitor.2012.Discovery.NetworkDeviceDiscovery.$TemplateConfig/TemplateIdString$">
<Name>Network Device Discovery for '$TemplateConfig/Name$' template</Name>
</DisplayString>
</DisplayStrings>
<KnowledgeArticles>
<KnowledgeArticle ElementID="GSX.Monitor.2012.Discovery.NetworkDeviceDiscovery.$TemplateConfig/TemplateIdString$" Visible="true">
<MamlContent>
<maml:section xmlns:maml="http://schemas.microsoft.com/maml/2004/10">
<maml:title>Summary</maml:title>
<maml:para/>
</maml:section>
</MamlContent>
</KnowledgeArticle>
</KnowledgeArticles>
</LanguagePack>
</LanguagePacks>
</Implementation>
</Template>