The CreatorCon Call for Content is officially open! Get started here.

srikanthnelapud
ServiceNow Employee
ServiceNow Employee

Root Cause:

OOTB the way we calculate the CPU info (the logic in the script) based on the earlier survey with the few customers, the inputs received, and the research made so it's not advised to do the change unless necessary.

 

Workaround:

* Please note the workaround mentioned is what is provided to a customer on demand due to the requirement so this workaround doesn't mean it's the right solution and applicable for all customers.

Please do the following:

  1.  For the table - "cmdb_ci_solaris_server". Go to the Dictionary of it and modify the labels ONLY.
    • "CPU core count=> "Total CPU core count"
    • "CPU core thread=> "Total CPU core thread"

2. Modify the "Solaris - CPU" discovery probe's script (<<INSTANCE_NAME>>.service-now.com/discovery_probes.do?sys_id=7b73e821ef75300098d5925495c0fb08) as below.

FROM
current.cpu_core_count = cpuCoreCount == 1 ? cpuCoreCount : cpuCoreCount/cpuCount;
TO
current.cpu_core_count = cpuCoreCount == cpuCoreCount;

FROM
current.cpu_core_thread = processors/cpuCoreCount;
TO
current.cpu_core_count = processors;

Version history
Last update:
‎09-08-2020 11:16 AM
Updated by: