You can set and retrieve object attributes and attribute values with the following commands:
Description
The addRow command adds a row with the specified values to a table.
Syntax
addRow a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject [property=property] [propInst=propertyInstance] rowValues=name=value[,name=value]
Parameters
a, m, mgtObj, property, propInst, and rowValues.
Description
The delRow command deletes a row with the specified values from a table.
Syntax
delRow a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject [property=property] [propInst=propertyInstance] rowValues=name=value[,name=value]
Parameters
a, m, mgtObj, property, propInst, and rowValues.
Description
The getAttributes command retrieves the information for a property or retrieves specified attributes from an agent or a list of agents.
Syntax
getAttributes a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject property=property [propInst=propertyInstance] [attribute=attribute[,attribute]*]
Parameters
a, m, mgtObj, property, propInst, and attribute.
Description
The setAttributes command sets a property or sets values to the specified attributes in an agent or a list of agents. You can also reset the value of a specified attribute to null.
Syntax
setAttributes a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject property=property [propInst=propertyInstance] [attribute=attribute[,attribute]*] value=value[,value]*
Parameters
a, m, mgtObj, property, propInst, attribute, and value.
For each attribute specified in the attribute parameter, there must be a corresponding value in the value parameter.