[redirecting to the mailing list]<br><br><div class="gmail_quote">On Tue, May 22, 2012 at 5:38 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cool. That's not what I was expecting, but I hadn't gotten far enough to dig into libvirt yet. We can definitely make cumulative messages work, and that does eliminate a lot of my concern about missing a message here or there.<div class="HOEnZb">
<div class="h5"><br>
<br><div class="gmail_quote">On Tue, May 22, 2012 at 5:36 PM, James R Penick <span dir="ltr"><<a href="mailto:penick@yahoo-inc.com" target="_blank">penick@yahoo-inc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<span style="font-size:11pt;font-family:Calibri,Arial,Helvetica,sans-serif">Libvirt statistics are all cumulative, my collection agent stores them all in a sqlite db, and my monitoring agent compares deltas to determine resource utilization and
send alerts.<span><font color="#888888"><br>
<br>
-James</font></span><div><br>
<br>
<span>-----Original Message----- <br>
<b>From:</b> Doug Hellmann [<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>]<br>
<b>Received:</b> Tuesday, 22 May 2012, 2:32pm<br>
<b>To:</b> James R Penick [<a href="mailto:penick@yahoo-inc.com" target="_blank">penick@yahoo-inc.com</a>]<br>
<b>CC:</b> Nick Barcet [<a href="mailto:nick.barcet@canonical.com" target="_blank">nick.barcet@canonical.com</a>]; <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a> [<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>]<br>
<b>Subject:</b> Re: [Openstack] [metering] high-level design proposal<br>
<br>
</span></div></span><div>
<div><br>
<br>
<div class="gmail_quote">On Tue, May 22, 2012 at 4:35 PM, James R Penick <span dir="ltr">
<<a href="mailto:penick@yahoo-inc.com" target="_blank">penick@yahoo-inc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>>>-> In addition to a signature, I think we would need a sequence number<br>
>>to be embedded by the agent for each message sent, so that loss of<br>
>>messages, or forgery of messages, can be detected by the collector and<br>
>>further audit process.<br>
<br>
>OK. We have a message id, but I assumed those would be used to eliminate<br>
>duplicates so this sounds like something different or new. It implies<br>
>that the agent knows its own id (not hard) and keeps up >with a sequence<br>
>counter (more difficult, though not impossible).<br>
>Did you have something in mind for how to implement that?<br>
<br>
<br>
</div>
If we're submitting messages every given node with a predictable<br>
frequency, we should be able to determine that a message was lost simply<br>
by noting a gap in the timestamps. Also, if we're sending cumulative<br>
statistics then the loss of a single message (or even a fair number of<br>
them) shouldn't impact our ability to meter too much.<br>
</blockquote>
<div><br>
</div>
<div>I don't know if we have cumulative statistics. What does libvirt actually give us?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888"><br>
-James<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>