|
If you can retrieve the CPU usage as a percentage (whichyou can) then multiply it by the speed of your CPU.
So, if your CPU is a 2GHz, just add ' * 2000000000' to the end of the Target line.
To get the percentage, you can use either SNMP, or check_pnsclient with the NSClient++ agent.
If you are using VMWare, look at the check_vmware plugin forum on this site. This has a local script (using vmwaretools) and a VIPerl one (that queries virtualcentre) to get the usage in MHz.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|