How to change only one attribute at the host

Hi experts,

we use host configuration with special host types. If we want to change only one attribute of the host with the cli we must change all attributes associates with the host. If we define only one new attribute all other values are set (back) to the default of the host type..

(in the gui all works fine...)

Is there a chance to change a only one attribute and keep all other attribute values of the host ?

Thanks,

Chris

[466 byte] By [ChRa] at [2008-1-31]
# 1

No, it is not possible to do that.

All attributes (passed via -attr) are treated as a single argument to the host modification (similar to a name or description). Essentially, when you provide a -attr argument to hdb.h.mod, the command will reset the existing overridden attributes and consider only the new attributes coming thorugh the -attr arg for overriding.

You see it working from the UI properly because, the UI requests for overriding all atributes once again, even though you manually changed only one attribute.

netuser1976a at 2007-7-8 > top of java,Administration Tools,N1 Service Provisioning System...