How to create attributes using CMDB driver ( Note - please use this as reference only as this is for display
only attribute , you may need to select appropriate options per requirement )
First, you need to start CMDBdriver. (<AtriumCoreinstall dir> \cmdb\server\bin)
PROMPT> cmdbdriver
...
Attribute
--------------get (ga)
set (sa)
create (ca)
getmult (gma)
createmult (cma)
setmult (sma)
delete (da)
...
Command: init
INITIALIZATION
CMDBInitialization results
ReturnCode: OK
Status List : 0 items
Command: log
Control record:
Authentication string () :
User name () : Demo
Password () :
Locale[.charSet] () :
TimeZone () :
Server () : localhost <=== Place your server here
Command: ssp <=== Use command if not on port mapper
SET SERVER PORT
The TCP port number of the server (0): 7500 <=== Place your port here
The RPC port number of the server (0):
CMDBSetServerPort results
ReturnCode: OK
Status List : 0 items
--> This is the command to create attribute (ca)
Command: ca
CREATE ATTRIBUTE
Class Name
Namespace (): [Link]
Class name (): BMC_Monitor
Attribute Name (): TestAJ
Attribute Id ():
Datatype Null/Int/Real/Char/Diary/Enum/Time/Decimal/Attach/Currency/Date/TimeOfDay/AttachPool
(0, 2-7, 10-14, 37) (0): 4
AR Field Id (0):
Entry Mode: (Required/Optional/Display-Only) (1-2,4) (1): 4
Maximum length (128):
If is a list, specify list format ():
Menu style - Append or Overwrite (1 or 2) (1):
Character menu ():
Pattern ():
Match operation - Anywhere, Leading match, or Equal (1 - 3) (2):
Have default value? (T): f
Getting Characteristics for this attribute
Number of Characteristics (0):
Getting Custom Characteristics for this attribute
Number of Characteristics (0):
CMDBCreateAttribute results
ReturnCode: OK
Status List : 0 items