[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How Can I Change ping Frequency to every 30 Seconds?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How Can I Change ping Frequency to every 30 Seconds?
- From: Scott Ryan <scottlryan (at) gmail.com>
- Date: Thu, 11 Feb 2010 16:34:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YEm/dSMlimHEAtplc6EbiOWO6I/0kOHOk5v8eKi4y6Q=; b=lHfGsXIzna6Vp5ca7cyUXB40StTQ7iBZ89yInlGLi+w0FiEURXC4u7bJpviN96tuBS srHr65CpbBTVqGof26EiWeaX/hJQGv9zF3uaazJMC8T+AevRAfD5dgaaoEcObBknhsPY C9heBjlTIaHyvd7pKAypqI4tI3bGoegdzIYqA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=f5ODEdoX1XtENMq2QyMe0rnvyPf2nPK0VdosClEwbPRbDijZTUJb9lH+ldY8mHn4Lj PziBDbBcPlfZ94oTb7GLBZNbzAvQpV4xRfdqyiqdclx8R8yPXk3epCeJSzAyEIIr85KI UXWPfsRBGoCr0GA5J2Zr2eeBy1QLB5qEeayPo=
- References: <BAY133-W1040F639A17D88F6868582B44F0 (at) phx.gbl> <201002102314.23693.bgmilne (at) staff.telkomsa.net> <BAY133-W18B0F428A60CF903CD9D47B44E0 (at) phx.gbl> <6bf71c521002110701sbd9e88eg849ddb865644caf3 (at) mail.gmail.com> <BAY133-W105005B12188727C075D44B44E0 (at) phx.gbl>
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/