Xymon Mailing List Archive search

How Can I Change ping Frequency to every 30 Seconds?

7 messages in this thread

list Wiskbroom · Wed, 10 Feb 2010 10:28:56 -0500 ·
All;

I would like to modify ping to every 30 seconds over the next two weeks, I believe it is every 5 minutes as that is the frequency shown on my "conn" RRD graphs.  

Is this possible?  Is it possible to change the frequency for just one host and not all of my hosts?

Thank you!

.vadim
list Buchan Milne · Wed, 10 Feb 2010 23:14:23 +0100 ·
quoted from Wiskbroom
On Wednesday, 10 February 2010 16:28:56 user-ddebaeecde97@xymon.invalid wrote:
All;

I would like to modify ping to every 30 seconds over the next two weeks,
Set the interval of the bbnet task in hobbitlaunch.cfg on your servers running this task. However, you may want to verify the trends on the graphs on the bbtest pages for these hosts first, to verify whether you have in the past been able to complete all network testing in that time reliably.
quoted from Wiskbroom
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.
quoted from Wiskbroom
Is this possible?  Is it possible to change the frequency for just one host
 and not all of my hosts?
No, only for the task. However, you can run multiple bbnet tasks, and have them test different devices ...

Regards,
Buchan
list Wiskbroom · Thu, 11 Feb 2010 09:50:41 -0500 ·
From: user-9b139aff4dec@xymon.invalid
quoted from Buchan Milne
On Wednesday, 10 February 2010 16:28:56 user-ddebaeecde97@xymon.invalid wrote:
All;

I would like to modify ping to every 30 seconds over the next two weeks,
Set the interval of the bbnet task in hobbitlaunch.cfg on your servers running
this task. However, you may want to verify the trends on the graphs on the
bbtest pages for these hosts first, to verify whether you have in the past been
able to complete all network testing in that time reliably.
Thanks as always Buchan.  Sine my server I am using is fairly new, the
load and times to complete testing ar e all fine at the moment, so I've
gone ahead and modified bbnet in hobbitlaunch.cfg to a 1 min.
interval.  
quoted from Buchan Milne
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?
quoted from Buchan Milne
Is this possible? Is it possible to change the frequency for just one host
and not all of my hosts?
No, only for the task. However, you can run multiple bbnet tasks, and have
them test different devices ...
Regards,

.vadim
list Scott Ryan · Thu, 11 Feb 2010 16:01:22 +0100 ·
quoted from Wiskbroom
On Thu, Feb 11, 2010 at 3:50 PM,  <user-ddebaeecde97@xymon.invalid> wrote:
From: user-9b139aff4dec@xymon.invalid
On Wednesday, 10 February 2010 16:28:56 user-ddebaeecde97@xymon.invalid wrote:
All;

I would like to modify ping to every 30 seconds over the next two weeks,
Set the interval of the bbnet task in hobbitlaunch.cfg on your servers running
this task. However, you may want to verify the trends on the graphs on the
bbtest pages for these hosts first, to verify whether you have in the past been
able to complete all network testing in that time reliably.
Thanks as always Buchan.  Sine my server I am using is fairly new, the
load and times to complete testing ar e all fine at the moment, so I've
gone ahead and modified bbnet in hobbitlaunch.cfg to a 1 min.
interval.
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/<host>
# rrdtool dump <check>.rrd | less
quoted from Wiskbroom

Is this possible? Is it possible to change the frequency for just one host
and not all of my hosts?
No, only for the task. However, you can run multiple bbnet tasks, and have
them test different devices ...
Regards,

.vadim

-- 

Scott Ryan
http://bonoboslr.wordpress.com/
list Wiskbroom · Thu, 11 Feb 2010 10:25:18 -0500 ·
From: user-d85c9c61b1d7@xymon.invalid
On Thu, Feb 11, 2010 at 3:50 PM,  wrote:
From: user-3342e3578700@xymon.invalid
quoted from Scott Ryan
On Wednesday, 10 February 2010 16:28:56 user-d8fc75673582@xymon.invalid 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
list Scott Ryan · Thu, 11 Feb 2010 16:34:41 +0100 ·
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.
quoted from Wiskbroom

On Thu, Feb 11, 2010 at 4:25 PM,  <user-ddebaeecde97@xymon.invalid> wrote:
From: user-d85c9c61b1d7@xymon.invalid
On Thu, Feb 11, 2010 at 3:50 PM,  wrote:
From: user-3342e3578700@xymon.invalid
On Wednesday, 10 February 2010 16:28:56 user-d8fc75673582@xymon.invalid 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

-- 

Scott Ryan
http://bonoboslr.wordpress.com/
list Wiskbroom · Thu, 11 Feb 2010 10:54:49 -0500 ·
Subject: Re: [hobbit] How Can I Change ping Frequency to every 30 Seconds?
quoted from Scott Ryan

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 .rrd --step 120 DS:Normal:COUNTER:1200:0:U
quoted from Scott Ryan
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.

Thanks Scott, I'll script something...

.v