Setting metadata for KMs
You can set the metadata for KMs using the PATROL Classic console.
To set the metadata using the PATROL Classic console
- Open the PATROL Classic console in Developer mode.
- Click the KM tab
- Right click the Application Classes, and select New
- Type a name for the Application class.
- Application Properties window is displayed as shown in the following diagram:
- Click the Metadata tab and provide the information such as: Display Name, Monitor Type, Monitor Category, and CDM Class Name.
- Click Apply and save the Application Properties for a KM.
For KMs that that are compatible with PATROL Agent versions greater than 9.5, when you set the metadata through the developer console, an XML file is automatically generated as shown in the following sample:
?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<KMFile description="PATROL Knowledge Module for Microsoft Windows Operating System" majorVersion="1" minorVersion="20" package="pwk" productcode="pwk" release="4.8.00" revision="00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="KMFile.xsd">
<Applications>
<Application CDMClass="BMC_ComputerSystem" active="true" category="System" configVariables="osName,osVersion" createIcon="false" discovery="PSL" discoveryTime="0" displayName="Windows Remote Host" helpContextId="10003" helpFile="pwkkm.hlp" name="NT_REMOTE_HOST" okPicture="generic_ok.bmp" propagateState="true" security="false" suspendGlobalParams="false" type="MONITOR" wrongPicture="generic_warn.bmp">
<PreDiscoveryText file="nt_remote_host_metadata.psl"/>
<DiscoveryText serial="1354873975">exit;</DiscoveryText>
<MenuCommands>
<MenuCommand annotate="false" autoID="false" available="AVAILABLE_ALWAYS" id="" name="Configure Application Trace" security="SECURITY_INHERIT">
<BaseCommand>
<Command commandType="PSL" computerType="ALL_COMPUTERS">
<Commandtext serial="1283786387">requires pwk_remote;
pwk_remote__ConfigureTrace();</Commandtext>
</Command>
</BaseCommand>
</MenuCommand>
<MenuCommand annotate="false" autoID="false" available="AVAILABLE_ALWAYS" id="Force_Discovery" name="Force Discovery" security="SECURITY_INHERIT">
.......
.......
<KMFile description="PATROL Knowledge Module for Microsoft Windows Operating System" majorVersion="1" minorVersion="20" package="pwk" productcode="pwk" release="4.8.00" revision="00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="KMFile.xsd">
<Applications>
<Application CDMClass="BMC_ComputerSystem" active="true" category="System" configVariables="osName,osVersion" createIcon="false" discovery="PSL" discoveryTime="0" displayName="Windows Remote Host" helpContextId="10003" helpFile="pwkkm.hlp" name="NT_REMOTE_HOST" okPicture="generic_ok.bmp" propagateState="true" security="false" suspendGlobalParams="false" type="MONITOR" wrongPicture="generic_warn.bmp">
<PreDiscoveryText file="nt_remote_host_metadata.psl"/>
<DiscoveryText serial="1354873975">exit;</DiscoveryText>
<MenuCommands>
<MenuCommand annotate="false" autoID="false" available="AVAILABLE_ALWAYS" id="" name="Configure Application Trace" security="SECURITY_INHERIT">
<BaseCommand>
<Command commandType="PSL" computerType="ALL_COMPUTERS">
<Commandtext serial="1283786387">requires pwk_remote;
pwk_remote__ConfigureTrace();</Commandtext>
</Command>
</BaseCommand>
</MenuCommand>
<MenuCommand annotate="false" autoID="false" available="AVAILABLE_ALWAYS" id="Force_Discovery" name="Force Discovery" security="SECURITY_INHERIT">
.......
.......
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*