Join us at the CMS Virtual Customer Forum December 9th
Please join us at the CMS Virtual Customer Forum December 9, 2020 | 7:30 a.m. PDT | 4:30 p.m. CEST
Absent Member.. Absent Member..
Absent Member..

ucmdb-Number of cpu in a server - how to get this and store it in an attribute



I want to knnow the solution for this. How can i get the count of number of cup's in a server and update a field in the server.




I have server "A" and it has 8 CPU's with a query tql between server and cpu I can see that there are 8 cpu's (cpu1,cp2....cpu8) i can the count 8 to be updated in the server under attribute "number of cpu's = 8"



how can i do this?


Please help.

3 Replies
Commodore Commodore

If you only want it in a report, an easy way is to choose Ci-type NODE and the related Ci-type CPU. You put CPU under the NODE. Go to the report part and on Node you choose Add function under Report Layout. Choose CPU and Count.

If you run the report you see the Nodename (display label) and a new column named Count (|CPU|) or whatever you call it.

This was not what you specific asked for but perhaps it is good enough, to be able to create a report with number of CPU/node.

I guess, if you really want a new attribute on the Node with the number of CPU:s, you should be able to create it in an enrichment.

Wbr / Fredrik
Absent Member.. Absent Member..
Absent Member..

Thanks I'll try this.


But i'm looking for populating the number in the same server and then i need to send this value to service  manager.


How can i get this usinng an enrichment?


can you help me to create that?



Fleet Admiral Fleet Admiral
Fleet Admiral

There is no such capabilities at the moment.

There is an ER for future version to implement this


By the moment I see two possible solutions:

- To alter discovery script bringing CPU (Python knowledge is needed)

- To change integration to SM making calculation on the fly ( Groovy or Java knowledge is needed) 


I affraid support wouldn't be able to help with this, but we could bring HP PSO into the picture (this is not free service).

Hope this help. 

-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.