Re: =?koi8-r?Q?Re[2]: =?KOI8-R?Q?=F3=D4=D2=C1=CE=CE=CF=C5_=D0=CF?= ведение nginx?=

Alex Vorona voron at amhost.net
Wed Oct 24 08:40:51 MSD 2007


proforg пишет:
> On 4/16/07, Александр Ворона <voron at amhost.net> wrote:
>   
>> deniswork-vyG4IkNPo2XNsqkvetdkXg at public.gmane.org пишет:
>>     
>>>> это не nginx, это особенности rrdtool :)
>>>> а точнее так они воспринимают перезапуск nginx, когда его счётчики
>>>> сбрасываются
>>>>         
>>> Надо к чему-то написать max-value .... но к чему я так и не понял,
>>> не подскажите? =)
>>>       
>> man rrdcreate
>> DST defines the Data Source Type. The remaining arguments of a data
>> source entry depend on the data source type. For GAUGE, COUNTER, DERIVE,
>> and ABSOLUTE the format for a data source entry is:
>>
>> DS:ds-name:GAUGE | COUNTER | DERIVE |ABSOLUTE:heartbeat:min:max
>>
>> последнее слово max
>>
>> для существующей rrd можно изменить значение через rrdtool tune
>>
>>
>>     
>
> Прощще в скриптах заменить тип счётчика с COUNTER на DERIVE.
> Я так понимаю что различаются они только способом обработки ситуаций
> переполнения - которая в данном случае маловероятна.
>
>
>   
man rrdcreate
Internally, derive works exactly like COUNTER but without overflow 
checks. So if your counter does not reset at 32 or 64 bit you might want 
to use DERIVE and combine it with a MIN value of 0.

min=0 надо не забывать, если юзать DERIVE





More information about the nginx-ru mailing list