The following command retrieves all attributes for the size property in the totalstats managed object in the agent-stats module at port 1161 on host haiku:
> getAttributes a=haiku:1161 m=agent-stats mgtObj=totalstats \ property=size |
The following command sets the attribute alarmlimits.error-gt to the value of 2 in the size property specified in the previous example:
> setAttributes a=haiku:1161 m=agent-stats mgtObj=totalstats \ property=size attribute=alarmlimits.error-gt value=2 |
The following command deletes the row that is specified in rowValues from the managed object that is specified in mgtObj:
> delRow a=haiku:1161 \ m=filemon mgtObj=filemonstats/filemonTable/filemonEntry \ rowValues="name=test,desc=this,filename=/etc/passwd" |