Hi Christian (oh hai list) -<br>I've answered this a few times recently so I think it's useful to post info to the list. It's a highly requested bit of info. The documentation for "notifications" could be 
in a couple different areas. There's the the spec/blueprint at <a href="http://wiki.openstack.org/SystemUsageData" target="_blank">http://wiki.openstack.org/SystemUsageData</a>. I believe that project is a work in progress at <a href="https://github.com/Cerberus98/yagi" target="_blank">https://github.com/Cerberus98/yagi</a>. (We need to work on a doc plan, Yagi peeps.)<br>


<br>Also, here's what a startup did:<br>"<br><div>
The way we did it was to keep track of everything 
ourselves since openstack didn't provide metering <span><span class="il">data</span></span> that we needed. 
 We would log what size vm was started and the image id along with the 
timestamp, and then log when it was stopped, resized,
 etc.  There was a reporting API in our tool that customers could query 
against to pull that information  out and run reports for their <span><span class="il">billing</span></span> systems.</div>
<div><br>
</div>
<div>Most providers and enterprises that I spoke to were happy with that
 model but REALLY wanted <span><span class="il">data</span></span> about bandwidth <span><span class="il">usage</span></span> which we weren't 
able to provide.  Our answer was to correlate the IP of the VM that was 
running back with their network monitoring logs
 for invoicing purposes.  Not the best answer, but all that we were able
 to do.</div>
<div><br>
</div>
<div>For our customers that used CA 3Tera AppLogic, it managed 
everything from the hypervisor to the virtual networking stack to the 
app layer and had a full metering API where we could pull all of the 
<span><span class="il">data</span></span> from.  It wasn't the best API, but the <span><span class="il">data</span></span> was accurate.
  Same with vcloud if I remember correctly."</div><br>Also, from NTT <span class="il">Data</span>, Nati Ueno's code for <span class="il">billing</span> is here, <br>
<a href="https://github.com/nati/dash_billing" target="_blank">https://github.com/<span>nati</span>/dash_<span class="il">billing</span></a><br>
and you can install it using his stack.sh, but it's not fully tested yet)<br>
<a href="https://github.com/nati/devstack" target="_blank">https://github.com/<span>nati</span>/devstack</a><br>
<br>I know it's a hotly sought after bit of info. Let me know if this example is the type of info you seek. I'd also like to work on a doc plan for gathering this into the admin guides.<br>Anne<br><br><div style="margin: 2em 0pt;" name="sig_d41d8cd98f">

<div style="padding: 5px; font-size: 11px; color: rgb(102, 102, 102); font-family: sans-serif;">
<strong>Anne Gentle</strong>
 <br>
<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a><br>
<div style="font-size: 10px;">
<a href="http://justwriteclick.com/" target="_blank">my blog</a> |
<a href="http://xmlpress.net/publications/conversation-community/" target="_blank">my book</a> |
<a href="http://www.linkedin.com/in/annegentle" target="_blank"><span>LinkedIn</span></a> | <a href="http://del.icio.us/annegentle" target="_blank">Delicious</a> |
 <a href="http://twitter.com/annegentle" target="_blank">Twitter</a>

</div></div></div><div class="gmail_quote">On Thu, Nov 3, 2011 at 2:56 AM, Christian Wittwer <span dir="ltr"><<a href="mailto:wittwerch@gmail.com">wittwerch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi,<br>
I'm looking for a simple way to get some usage data out of my nova<br>
diablo installation.<br>
I need to know which tenant or user had how much instances running and<br>
for how long. Exactly the value you have in the dashboard, I guess<br>
it's called cpu hours.<br>
To setup a basic accounting I need to get this values over the api, to<br>
put them into a seperated database.<br>
<br>
How can I access these informations through the api?<br>
<br>
Cheers,<br>
Christian<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br>