Is this the same question you asked in the dev forum? In that case, I believe you have your answer in the form of the plugin dev page. One thing that page doesn't have is the API for SIGAR, which is our low-level metrics gathering tool - http://sigar.hyperic.com/