CPU count incorrect using IC agent for virtual monitored host
说明
Under Host Monitor dashboard, Foglight shows more CPUs than the Processor count at the Database | Configuration dashboard.
Host Monitor dashboard
Database | Configuration dashboard
原因
The Infrastructure agent (IC) collects CPU count via deviceIDs. In a virtual environment, the hypervisor can assign any physical CPUs to the VM so the deviceIDs are not guaranteed to be consistent.
For example: Infrastructure Agent (IC) has been used to monitor VMs. A VM has 4 CPUs 0 1 2 3 with deviceIDs W X Y Z. IC agent collects these and attaches it to the host model as a host with 4 CPUs 0W 1X 2Y 3Z now. If in any subsequent collection the same VM with 4 CPUs now has deviceIDs as A B C D then what will happen is that the agent will "know" that these are not the same CPUs, it will therefore create 0A 1B 2C 3D and attach them the host mode. At this point the host topology will show up as a host with 8 CPUs 0W 1X 2Y 3Z 0A 1B 2C 3D.
解决办法
Use virtualization monitoring agent. Refer to user guide. https://support.quest.com/technical-documents/foglight-for-infrastructure/user-guide under section Virtual hosts and reported metrics.