Ok, I think I have this going.

dbuck, I noticed the same thing as you about the double $$, but I got errors 
running the command through Zenoss with a single $.

I've had a look at the code in the check_esx2 perl script, and it seemed like 
since this was only doing an SNMP poll, it should be possible to pull CPU usage 
without an external command.

I've created a new datapoint, and have some screenshots, but I don't know how 
to make this a zenpack or post pictures.

Basically, to get CPU monitoring going, do the following:

1. Delete the existing CPU_Utilization Data Source.
2. Create a new CPU_Utilization Data Source of type Derive that polls the OID 
1.3.6.1.4.1.6876.3.1.2.1.3 with RRD Min value of 0.
3. Add the Data Source to the graph CPU_Utilization.
4. Delete the existing missing Graph Point with sequence number 0.
5. Change the units to Percent, the Min Y to 0 and Max Y to 100.
6. Click the remaining Graph Point and change the name to Utilization_cpuUtil, 
RPN to "100,*" (without quotes), format to %5.1lf%% and legend to Utilization.

Delete any existing RRD graphs for the virtual hosts called 
CPU_Utilization_CPU_Utilization.rrd (I do this from the command line with a 
find).

In about 15 minutes, you should have CPU usage for the individual virtuals.

I'm not sure if this is 100%, but it appears to work for me...

cynfewl.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35550#35550

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to