monkeyhanger63

updated

15 years ago

1

2249

October 6th, 2011 07:00

Setting the CurrentUtilization value of a Processor

I have a custom device that I have created the containment drivers for.

The device is now discovered with all of the component objects and their relationship(s) set correctly.

I now need to populate the values of the object attributes, among them the CurrentUtilization value of the Processor.

I can retrieve the value using SNMP but am unable to insert the value using dmctl using put or insert (see below)

dmctl> insert Processor::PSR-10.2.0.178/1::CurrentUtilization 77

CurrentUtilization: Can't perform set operation on scalar attribute

dmctl> put  Processor::PSR-10.2.0.178/1::CurrentUtilization 77

CI-E-EGENERIC-At

    /work/bluecurrent/FOUNDATION-7.0.2.X-HF/106/smarts/repos/mr/prop.c:277

    put: Attempted to call access method which is not available for given

    attribute

MR-UNAVAILABLE_ACCESS_METHOD-Attempted to call access method which is not

    available for given attribute

Could somebody please assist with a means of populating this attribute?

Thanks,

Duncan