Updating custom KMs
This section provides detailed steps to make your custom Knowledge Modules (KMs) compliant to BMC ProactiveNet Performance Management or TrueSight Infrastructure Management.
Before you begin
Ensure that you have upgraded your Classic Console to version 3.6.00.01 of BMC PATROL Console for Windows.
To update a custom KM
- Update all KM files with release and revision number. For details, see KM-directives.
- Update all the Knowledge Module List of files with meta data information. For details, see Creating a Knowledge Module List.
- Load your custom KM in PATROL Developer Console.
- For all applicable Application Classes:
- Click the KM tab in the Developer Console.
- Expand Application Classes to view all the loaded application classes.
- Right-click on the application class name and click on Properties.
- Click the Metadata tab.
Ensure you provide all the following details:
Items
Description
Sample
Display Name
The name of the instance as displayed on the BPPM Operations UI.
NT_OS application class is named Windows Operating System.
Monitor Type
This defines the behavior of the application class.
MONITOR, CONTAINER, etc.
Monitor Category
BMC ProactiveNet Performance Management or TrueSight Infrastructure Management uses the Monitor category specification for categorization.
System, Database, Application, etc.
CDM Class Name
The name of the CDM class that corresponds to an application class.
BMC_FileSystem, BMC_ComputerSystem, etc.
Config Variables
To pass all config parameter (namespace variable) values to BPPM.
osType, osVersion, etc.
For additional details, refer Static and Dynamic Metadata.
- To enable Monitoring Policy configuration, add configuration metadata in the Input tab. For example, see Example-of-input-tab-details-for-an-Application-Class.
When setting metadata using PSL set functions, check the PATROL Agent version.
- Save the KM.
- For all applicable Parameters:
- Click the KM tab in the Developer Console.
- Expand Application Classes to view all the loaded application classes.
- Expand an application class to view all Global and Local entries.
- Expand the Global > Parameters to view all parameters in the application class.
- Right-click on the parameter name and click on Properties.
- Click the Metadata tab.
- Select all the applicable metadata options. For details, refer Static metadata.
- Save the KM.
- For all applicable Menu commands:
- Click the KM tab in the Developer Console.
- Expand Application Classes to view all the loaded application classes.
- Expand an application class to view all Global and Local entries.
- Expand the Global > Commands.
Expand Menu Commands to view all menu commands for an application class.
Right-click on the menu command and click on Properties.
- In the General tab, perform the following to generate the ID:
- For auto-generated ID:
- Select the Generate Auto ID option and click Yes.
The auto generated id is displayed in the ID field and a function with the same name is created in the Command text. - Click the Command tab.
- Write the logic of the menu in the Command text.
Click Apply.
- If you want to have inputs taken from a user on the BPPM Operations Console, write the input metadata in the Input tab. For example, see Example-of-input-tab-details-for-a-Menu-command.
Ensure that Annotate option is not checked for input to work.
- Select the Generate Auto ID option and click Yes.
- For manually generated ID:
- Select the Generate Auto ID option and click Yes. Now, deselect the the Generate Auto ID option to add Menu ID manually.
- Enter Menu ID.
Create a PSL library with naming convention as "<KMName>_<Menu ID>.lib" and export the PSL function with same name as Menu ID.
- Click the Command tab.
- Write the logic of the menu in the Command text to be executed by PATROL Console.
- For auto-generated ID:
- Click Apply.
- From the BPPM server, if you want to execute a menu command automatically on the ALARM state:
- Select the Annotate option in the General tab. Ensure that no inputs are used for the menu command.
- Click Apply.
- The menu command will appear in the Event Rules list on the BPPM server.
- Associate this event rule to an event trigger. In this case the ALARM state trigger.
- Save the KM.
- Create a bundle with the newly created <ApplicationClassName>.xml, menu command library files, and the XSD shipped with PATROL Console.