[Ganglia-general] Is there a way to Display deltas for metrics
Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
I use gmetric from a script scheduled to run every minute via cron. Check 'man gmetric' for syntax, and there are example scripts here: http://www.perzl.org/ganglia/devicespecific.html Hope that helps, Khrist -Original Message- From: Silver, Jonathan [mailto:jonathan.sil...@unify.com] Sent: Monday, August 04, 2014 10:18 AM To: Ganglia Subject: [Ganglia-general] Is there a way to Display deltas for metrics Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
Thanks, but gmetric (I thought) was for the collection of metrics into ganglia. The metrics are already being collected but they are the sum since day 1. I guess that I could create a new metric by running a local script, get the latest 2 values from rrds, compute the difference and set that as the new value for the new metric (added using gmetric), but that is a lot of overhead. Did I miss-understand something? -Original Message- From: Khrist Hansen [mailto:khrist.han...@gmail.com] Sent: Monday, August 04, 2014 11:39 AM To: Silver, Jonathan; 'Ganglia' Subject: RE: [Ganglia-general] Is there a way to Display deltas for metrics I use gmetric from a script scheduled to run every minute via cron. Check 'man gmetric' for syntax, and there are example scripts here: http://www.perzl.org/ganglia/devicespecific.html Hope that helps, Khrist -Original Message- From: Silver, Jonathan [mailto:jonathan.sil...@unify.com] Sent: Monday, August 04, 2014 10:18 AM To: Ganglia Subject: [Ganglia-general] Is there a way to Display deltas for metrics Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
Sounds like you have the RRD files set as a GAUGE when they should be a COUNTER. You could try using rrdtool to fix this on the fly. If you are using gmetric to send metrics, have a look at the --slope option. This is used when creating RRD files for the first time to set the metric (i.e. GAUGE, COUNTER, etc). On Mon, Aug 4, 2014 at 11:17 AM, Silver, Jonathan jonathan.sil...@unify.com wrote: Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Jesse Becker -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
Correct, gmetric will the send your desired metric value and its attributes to gmetad. If the OS or application only provides the metric as a counter but you want them visualized as a gauge, then it is on you to calculate the delta *and* rate of occurrence over time. The example scripts from Dr. Perzl are a good starting point for both, though I had to tweak the algorithm to fit my needs. -Original Message- From: Silver, Jonathan [mailto:jonathan.sil...@unify.com] Sent: Monday, August 04, 2014 10:44 AM To: Khrist Hansen; 'Ganglia' Subject: RE: [Ganglia-general] Is there a way to Display deltas for metrics Thanks, but gmetric (I thought) was for the collection of metrics into ganglia. The metrics are already being collected but they are the sum since day 1. I guess that I could create a new metric by running a local script, get the latest 2 values from rrds, compute the difference and set that as the new value for the new metric (added using gmetric), but that is a lot of overhead. Did I miss-understand something? -Original Message- From: Khrist Hansen [mailto:khrist.han...@gmail.com] Sent: Monday, August 04, 2014 11:39 AM To: Silver, Jonathan; 'Ganglia' Subject: RE: [Ganglia-general] Is there a way to Display deltas for metrics I use gmetric from a script scheduled to run every minute via cron. Check 'man gmetric' for syntax, and there are example scripts here: http://www.perzl.org/ganglia/devicespecific.html Hope that helps, Khrist -Original Message- From: Silver, Jonathan [mailto:jonathan.sil...@unify.com] Sent: Monday, August 04, 2014 10:18 AM To: Ganglia Subject: [Ganglia-general] Is there a way to Display deltas for metrics Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
You are correct - the rrds files do have type GAUGE. Some of these metrics are actually coming from jmxtrans - which has no capability to set the type of value. I cannot figure out the command within rrdtool to change from a gauge to a counter - how do I do this? -Original Message- From: Jesse Becker [mailto:haw...@gmail.com] Sent: Monday, August 04, 2014 11:47 AM To: Silver, Jonathan Cc: Ganglia Subject: Re: [Ganglia-general] Is there a way to Display deltas for metrics Sounds like you have the RRD files set as a GAUGE when they should be a COUNTER. You could try using rrdtool to fix this on the fly. If you are using gmetric to send metrics, have a look at the --slope option. This is used when creating RRD files for the first time to set the metric (i.e. GAUGE, COUNTER, etc). On Mon, Aug 4, 2014 at 11:17 AM, Silver, Jonathan jonathan.sil...@unify.com wrote: Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg. clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Jesse Becker -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
I think something like this should work: rrdtool tune my_metrics.rrd --data-source-type name_of_DS:COUNTER That's 100% untested, and you should make backups of your files, of course. You'll need to figure out the names of the DS entries, which you can get from 'rrdtool info my_metrics.rrd' On Mon, Aug 4, 2014 at 12:06 PM, Silver, Jonathan jonathan.sil...@unify.com wrote: You are correct - the rrds files do have type GAUGE. Some of these metrics are actually coming from jmxtrans - which has no capability to set the type of value. I cannot figure out the command within rrdtool to change from a gauge to a counter - how do I do this? -Original Message- From: Jesse Becker [mailto:haw...@gmail.com] Sent: Monday, August 04, 2014 11:47 AM To: Silver, Jonathan Cc: Ganglia Subject: Re: [Ganglia-general] Is there a way to Display deltas for metrics Sounds like you have the RRD files set as a GAUGE when they should be a COUNTER. You could try using rrdtool to fix this on the fly. If you are using gmetric to send metrics, have a look at the --slope option. This is used when creating RRD files for the first time to set the metric (i.e. GAUGE, COUNTER, etc). On Mon, Aug 4, 2014 at 11:17 AM, Silver, Jonathan jonathan.sil...@unify.com wrote: Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg. clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Jesse Becker -- Jesse Becker -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
Rrdtune worked. - thanks. How does --slope effect the metric type (Gauge ve Counter). What do I need to set slope to to get counter? Thanks again, jon -Original Message- From: Jesse Becker [mailto:haw...@gmail.com] Sent: Monday, August 04, 2014 11:47 AM To: Silver, Jonathan Cc: Ganglia Subject: Re: [Ganglia-general] Is there a way to Display deltas for metrics Sounds like you have the RRD files set as a GAUGE when they should be a COUNTER. You could try using rrdtool to fix this on the fly. If you are using gmetric to send metrics, have a look at the --slope option. This is used when creating RRD files for the first time to set the metric (i.e. GAUGE, COUNTER, etc). On Mon, Aug 4, 2014 at 11:17 AM, Silver, Jonathan jonathan.sil...@unify.com wrote: Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg. clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Jesse Becker -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Is there a way to Display deltas for metrics
Here's a link (with more links) to what's what: http://codeblog.majakorpi.net/post/16281432462/ganglia-xml-slope-attribute (instead of just having me cut-n-paste). On Mon, Aug 4, 2014 at 1:55 PM, Silver, Jonathan jonathan.sil...@unify.com wrote: Rrdtune worked. - thanks. How does --slope effect the metric type (Gauge ve Counter). What do I need to set slope to to get counter? Thanks again, jon -Original Message- From: Jesse Becker [mailto:haw...@gmail.com] Sent: Monday, August 04, 2014 11:47 AM To: Silver, Jonathan Cc: Ganglia Subject: Re: [Ganglia-general] Is there a way to Display deltas for metrics Sounds like you have the RRD files set as a GAUGE when they should be a COUNTER. You could try using rrdtool to fix this on the fly. If you are using gmetric to send metrics, have a look at the --slope option. This is used when creating RRD files for the first time to set the metric (i.e. GAUGE, COUNTER, etc). On Mon, Aug 4, 2014 at 11:17 AM, Silver, Jonathan jonathan.sil...@unify.com wrote: Some of the metrics that we are collecting are totals since the system rebooted. That is not very interesting and it becomes a huge number that shows (percentage-wise) little change over time. Is there some way to change ganglia to display the change of this metric instead of it value without changing the collector itself? Thanks, Jonathan -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg. clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Jesse Becker -- Jesse Becker -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general