[rrd-users] One more question -- Re: Help in need when writing gangnlia python metrics modules

Bernard Li bernard at vanhpc.org
Fri Dec 12 08:44:48 CET 2008


Hi:

This is the wrong list to ask Ganglia-related questions, please
subscribe to ganglia-general mailing-list and ask your questions
there:

https://lists.sourceforge.net/lists/listinfo/ganglia-general

Cheers,

Bernard

On Wed, Dec 10, 2008 at 4:30 PM, Robinson Tiemuqinke
<hahaha_30k at yahoo.com> wrote:
> Hi,
>
>  One more question:
>
>  Can I specify the min/max threshhold values for a metric through some fields in metric descrpitor? If so, how to do it?
>
>  Thanks.
>
>
>
>
> --- On Wed, 12/10/08, Robinson Tiemuqinke <hahaha_30k at yahoo.com> wrote:
>
>> From: Robinson Tiemuqinke <hahaha_30k at yahoo.com>
>> Subject: Help in need when writing gangnlia python metrics modules
>> To: tobi at oetiker.ch, rrd-users at lists.oetiker.ch
>> Date: Wednesday, December 10, 2008, 7:25 PM
>> Hi, Tobias and all,
>>
>>   I'm writing a ganglia python metrics module to
>> monitor haproxy  software's performance. I'm
>> following the steps at
>> http://ganglia.wiki.sourceforge.net/ganglia_gmond_python_modules.
>> the modules does send data back to gmetad but I still
>> don't understand the following parameters for
>> metrics' descriptors, could you or someone shed a light
>> into this:
>>
>> The following paragraph is excerpt from the html page:
>>
>> -----------------------------------------------------------------
>> name: name of the metric
>> call_back: function to call when collecting metric data
>> time_max: maximum time in seconds between metric collection
>> calls
>> value_type: string | uint | float | double
>> units: unit of your metric
>> slope: zero | positive | negative | both
>> format: format of your metric
>> description: description of your metric (which is visible
>> in web frontend if you hover over host metric graph)
>> group: group of your metric (metrics in the web frontend
>> hostview is grouped by this)
>> -----------------------------------------------------------------------
>>
>> My questions are:
>>
>> 1, how can I specify RRD file's heartbeat rate here?
>>
>> 2, when the metric has a large int (between 2**32 and
>> 2**64) value, which 'value_type' should I specify?
>> Is the 'uint' -- probably means unsigned int -- good
>> enough?
>>
>> 2.1, If I specify 'uint' for 'value_type',
>> and the metrics has a negative value '-1' to specify
>> the problematic situation where data is not retrievable,
>> then what will happen?
>>
>> 3, what do the 'slope' values mean? And how to
>> specify it for a particular metric?
>>
>> Thanks a lot.
>>
>> --Tiemuqinke
>
>
>
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>



More information about the rrd-users mailing list