mkb syntax


The following figure shows the syntanx for the mkb command.

mkb syntax

mkb [-h|-?] [-z] [-q] [-v] [-n <CellName> | -n @Host[/Port[#Key]] ]
[-f <ManifestFile>] [-b <BinFile>] [-c <ClassFile>] [-d <DataFile>] [-a <Arch>]
[-j <RecordFile>] [-l <LibFile>] [-m <Directory>] [-o <CollectorFile>] [-p] [-r <RuleFile>] [ -i UserID[/Password][@Host[/Port]] ]

The following table lists the command-specific options for mkb. For a list of common command options that apply to all CLI commands, see Event-management-common-command-options.

mkb options

Option

Description

-aArch

Specifies the platform architecture

-bBinFile

Binary file name

-cClassFile

Imports the specified ClassFile.baroc that defines the class definitions

-dDataFile

Imports the specified_DataFile_.baroc that defines data instances

-fmanifest

Specifies the path to the manifest.kb file

-jRecordFile

Imports RecordRile.baroc that defines the record definitions

-lLibFile

Imports the specified library file (filename.wic ) 
Note: The -l option for the mkb command overrides the -loption in  Common options for event management CLI commands.

-mDirectory

Creates a new Knowledge Base directory hierarchy based on the contents of the designated manifest.kb file

-oCollectorFile

Imports the specified CollectorFile.mrl that defines the collector definitions

-p

Prints the contents of the designated manifest.kb file, along with the names of the .load files in the various directories comprising the Knowledge Base 
Note: The -p option for mkb overrides the common CLI -poption listed in Event-management-common-command-options

-rRuleFile

Imports the specified_RuleFile_mrl that defines the rule definitions

Use the options described in the following table to add new files to the Knowledge Base that you specified with the -f option. The new files are also described in the following table:

mkb new file options

mkb option

Description

-aArch

 

Specifies the platform architecture:

  • h - HP-UX
  • l - Linux
  • p - AIX (Power PC)
  • s - Solaris (Sparc)
  • w - Microsoft Windows (Intel)

 

-b BinFile

Adds the binary file (BinFile) for the architecture

-cClassFile

Adds the class file (ClassFile to the designated Knowledge Base

-oCollectorFile

Adds the collector file (CollectorFile) to the designated Knowledge Base

-dDataFile

Adds the data file (DataFile) to the designated Knowledge Base

-l LibFile

Adds the library file (LibFile) to the designated Knowledge Base 
Note: The -l option for the mkb command overrides the -loption in Event-management-common-command-options

-rRuleFile

Adds the rule file (RuleFile) to the designated Knowledge Base

Each of the above options causes mkb to copy the designated files into the proper Knowledge Base directory and adds information to the .load file of that directory.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC TrueSight Infrastructure Management 10.5