[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] How Can I Change ping Frequency to every 30 Seconds?



If you want the rrd to be updated every 2 minutes then you will have
to create the rrd yourself manually.
Xymon will be default set the step to 5 minutes and there does not
seem to be a way of changing that.

# rrdtool create <file>.rrd --step 120 DS:Normal:COUNTER:1200:0:U
RRA:AVERAGE:0.5:1:1200 RRA:MAX:0.5:6:2400 RRA:AVERAGE:0.5:6:2400

Make sure you change the ownership to xymon:xymon after creating it.

On Thu, Feb 11, 2010 at 4:25 PM,  <wiskbroom (at) hotmail.com> wrote:
>
>
>> From: scottlryan (at) ....com
>
>> On Thu, Feb 11, 2010 at 3:50 PM,  wrote:
>>>
>>>
>>>> From: bgmilne (at) staff.....net
>>>
>>>> On Wednesday, 10 February 2010 16:28:56 wiskbroom (at) ....com wrote:
>>>>> I
>>>>> believe it is every 5 minutes as that is the frequency shown on my "conn"
>>>>> RRD graphs.
>>>>
>>>> No, network testing intervals are not necessarily aligned to the RRD graph
>>>> resolution.
>>>
>>> How, and where can I make sure that rrd graphs are
>>> regenerating at the same interval, or at least every 2 minutes?
>>
>> You can use rrdtool to dump out the contents of the rrd.
>>
>> cd /var/lib/xymon/rrd/
>> # rrdtool dump .rrd | less
>
> So, that's confirmed that I am generating a graph once per minute:
>
>
> <!-- 2010-02-09 10:25:00 EST / 1265729100 --> <row><v>2.5375000000e-03</v></row>
> <!-- 2010-02-09 10:30:00 EST / 1265729400 --> <row><v>5.2093333333e-03</v></row>
> <!-- 2010-02-09 10:35:00 EST / 1265729700 --> <row><v>2.6782333333e-03</v></row>
> <!-- 2010-02-09 10:40:00 EST / 1265730000 --> <row><v>5.6797666667e-03</v></row>
> <!-- 2010-02-09 10:45:00 EST / 1265730300 --> <row><v>4.2973333333e-03</v></row>
> <!-- 2010-02-09 10:50:00 EST / 1265730600 --> <row><v>3.7946000000e-03</v></row>
>
> Now, how do I reset this to every two minutes?
>
> Thanks again,
>
> .vadim
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>



-- 
Scott Ryan
http://bonoboslr.wordpress.com/