VMware Cloud Community
soyuppy
Contributor
Contributor

Only 2 CPU?

I just intsalled and agent on Redhat RHEL that is running on 2 Quad Xeon 3.2 GH server box. Essentially mean that there are 8 CPUd, each one is 3.2 GHz. But the agent only report 2 CPUs...how can I get it to capture/report all the CPUs? ie cpu0-cpu7.

The hq-agent is the latest 3.2.4. The hq-server is one contained as VM appliance running in VMWare hosted server.

I tried running the agent auto disc manually
java -jar ./pdk/lib/hq-product -m discover

Below is the snippet output relating to the cpuinfo collection:
Platform=Linux, fqdn=dbserver1.layerzlab.com (Red Hat Enterprise Linux 4)
config...
product..null
metric...{platform.log_track.level=Warn, platform.config_track.enable=true, platform.log_track.enable=true}
control..null
cprops...{vendorVersion=Enterprise Linux 4, secondaryDNS=64.127.100.12, primaryDNS=192.168.220.2, defaultGateway=192.168.220.1, vendor=Red Hat, arch=i686, ram=2048 MB, ip=192.168.220.5, cpuSpeed=2 @ 3201 MHz, version=2.6.9-42.0.10.ELsmp}
dbserver1.layerzlab.com Linux ProcessServer services:
dbserver1.layerzlab.com Linux CPU 1 (3201Mhz Intel Xeon)
config...
product..{cpu=0}
metric...{}
control..null
rt.......null
dbserver1.layerzlab.com Linux CPU 2 (3201Mhz Intel Xeon)
config...
product..{cpu=1}
metric...{}
control..null
rt.......null
dbserver1.layerzlab.com Linux sshd Process
config...
product..{process.query=Pid.PidFile.eq=/var/run/sshd.pid}
metric...{}
control..null
cprops...{exe=/usr/sbin/sshd, user=root, group=root}
rt.......null

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

but from /proc/cpuinfo, there are a total of 8 CPUs:
cat /proc/cpuinfo |grep processor
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7

Message was edited by: soyuppy
0 Kudos
3 Replies
staceyeschneide
Hot Shot
Hot Shot

how many CPU's are delegated to the appliance? methinks its 2. If you want to monitor the physical server itself, you'll need to install an agent on it.
0 Kudos
soyuppy
Contributor
Contributor

yes, agent is installed on the actual Redhat server. I'm not talking about the agent that is running as part of the Hyperic server.
0 Kudos
soyuppy
Contributor
Contributor

same problem has been report in sigar forum. Workaround solution is described there.
http://communities.vmware.com/message/1927822#1927822
0 Kudos