[hobbit] Problem with ncv - Feauture request

Marco Avvisano marco.avvisano at regione.toscana.it
Wed Sep 20 10:16:07 CEST 2006


Hi Enrick,

you think may be usefull to have the possibity to customize the interval in 
the creation
of the rrd file from NCV directive?
I have a lot of custom graphs on  clent data that are sending  beyond this 
intervall :-(



Marco

> ----- Original Message ----- 
> From: "Francesco Duranti" <fduranti at q8.it>
> To: <hobbit at hswn.dk>
> Sent: Friday, September 15, 2006 3:44 PM
> Subject: RE: [hobbit] Problem with ncv
>
>
>> The problem related to graphs with 20 minutes interval is in the
>> creation of the rrd file
>>
>>>From the rrdcreate help page
>> http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html
>>
>>    DS:ds-name:GAUGE | COUNTER | DERIVE | ABSOLUTE:heartbeat:min:max
>>
>> The ``heartbeat'' defines the maximum acceptable interval between
>> samples. If the interval between samples is less than ``heartbeat'',
>> then an average rate is calculated and applied for that interval. If the
>> interval between samples is longer than ``heartbeat'', then that entire
>> interval is considered ``unknown''. Note that there are other things
>> that can make a sample interval ``unknown'', such as the rate exceeding
>> limits, or even an ``unknown'' input sample.
>>
>> The heartbeat used by hobbit for ncv (and other graphs) is 600 (10 min)
>> and cannot be changed with parameters so you need to change the source
>> code (but it will change heartbeat for all the NCV graphs you do and
>> you've to remember to change it when installing a new version) or we
>> have to wait for Henrik to do a new rrd extendible interface for all our
>> special graphs cases :D
>> If you need to change you've to change it in the hobbitd/rrd/do_ncv.c,
>> search for "DS:", you'll find 2 of them they are for the default and not
>> default cases of ncv file creation.  I don't know if there's something
>> else that need to be changed but this should at least get your data
>> inside the rrd file.
>>
>> Francesco
>>
>>
>>
>>> -----Original Message-----
>>> From: Marco Avvisano [mailto:marco.avvisano at regione.toscana.it] Sent: 
>>> Friday, September 15, 2006 3:11 PM
>>> To: hobbit at hswn.dk
>>> Subject: Re: [hobbit] Problem with ncv
>>>
>>> Thanks Henrick, now it work
>>>
>>> I have another problem .... sometimes the rrd graphs lost values I send 
>>> data to hobbit server every 20 minutes ... i must change or add 
>>> something in hobbitgraph definitions?
>>>
>>> DEF:seconds=inps.rrd:Seconds:AVERAGE
>>>
>>> regards,
>>>
>>> Marco
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: "Henrik Stoerner" <henrik at hswn.dk>
>>> To: <hobbit at hswn.dk>
>>> Sent: Thursday, September 14, 2006 10:53 PM
>>> Subject: Re: [hobbit] Problem with ncv
>>>
>>>
>>> > On Thu, Sep 14, 2006 at 06:10:50PM +0200, Francesco Duranti wrote:
>>> >> I've a problem with data reporting in
>>> >> rrd files via ncv, I've one script that report data in this way
>>> >>
>>> >> MySQL Connection statistics
>>> >>
>>> >> Threads = 7
>>> >> Questions = 153015
>>> >> Slow queries = 0</PRE>
>>> >> <DIV align=left><PRE>Opens = 0
>>> >> Flush tables = 1
>>> >> Open tables = 32
>>> >> Queries per second avg = 0.135
>>> >>
>>> >> The rrd will get MySQLConnectionstat as the name of the
>>> first data to
>>> >> save in
>>> >> the rrd instead of getting Threads.
>>> >
>>> > This patch should fix it.
>>> >
>>> >
>>> > Regards,
>>> > Henrik
>>> >
>>> >
>>>
>>>
>>> --------------------------------------------------------------
>>> ------------------
>>>
>>>
>>> > To unsubscribe from the hobbit list, send an e-mail to
>>> > hobbit-unsubscribe at hswn.dk
>>> >
>>>
>>>
>>> To unsubscribe from the hobbit list, send an e-mail to
>>> hobbit-unsubscribe at hswn.dk
>>>
>>>
>>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 




More information about the Xymon mailing list