Apinger "again"
-
Hello,
Really really need to get help to change the apinger frequency - anyone please. :'( :-[
Thanks Steen
-
Why do you need to change the frequency? If you have the thresholds set appropriately for your connection you will only get anything in the logs when the latency/packet loss changes to something higher?
Steve
-
Hi Stephen,
Not worried over my logs, but I do not feel comfortable by hammering out a ping every each second, my ISP is already making noise over this.
Secondly my connection is not the more better, so often the connection is down or gives very poor response.
For me a ping each one minute or two will be good, but I cannot find the place to change the ping frequency. Tried in the aping.conf, but whatever I did don't seams to have any effect.I tried to change here:
target default {How often the probe should be sent
interval 1s
to, 60s, 120s, 180s but no change the ping frequency.The rest of aping.conf looks like this:
How many replies should be used to compute average delay
for controlling "delay" alarms
avg_delay_samples 10
How many probes should be used to compute average loss
avg_loss_samples 50
The delay (in samples) after which loss is computed
without this delays larger than interval would be treated as loss
avg_loss_delay_samples 20
Names of the alarms that may be generated for the target
alarms "down","delay","loss"
Location of the RRD
#rrd file "/var/db/rrd/apinger-%t.rrd"
}
alarm delay "WANdelay" {
delay_low 400ms
delay_high 1000ms
}
alarm down "WANdown" {
time 30s
}BR// Steen
-
Heh when 1 ping every 1secs is too much?
You push packets into that network at a much faster speed and the uplink is suppose to handle! -
Yes, agree…
But my uplink is often <128Mbps, and it have high latency and disconnects often, modem reboots, etc., etc., I am trying to work with the ISP (who basically don't give a damn due to lack of competition in my area), and for this I do not want to ping him too often. Using VisualRoute I try to show him his latency in his network, and connection (Up/Down) that often are 50/60% less than what I subscribe/pay for.
So if and there is a possibility from what I have read I would like to change the ping frequency.BR// Steen
-
I assume you mean 128Kbps? ;)
Can you ping your cable modem instead?
Steve
-
oops ::) :o :-[ forgot the 0.
Yes, I can, but the Cable Modem changes address whenever the modem reboots, so I would have to manually to look up and change.
Pinging the GW is great, but for a period I would like to send the pings less often that is all. -
[…] but I do not feel comfortable by hammering out a ping every each second, my ISP is already making noise over this.
Check this post: http://forum.pfsense.org/index.php/topic,35531.msg183946/topicseen.html#msg183946
It works for me. Pinging over a 3G connection every second including every DNS request going to every backup WAN
generates some traffic over the 3G connection. -
Hello Veni,
MANY THANKS!
Just what I been looking for!
Tried 60s first when confirmed to be sent each 60s then I changed to 5s!
BR// Steen
-
[…] I changed to 5s!
I forgot to mention that you need to reset this value every time after you do an update/upgrade of pfSense,
because that file will be overwritten with the one downloaded. -
Hi Veni,
Thanks, I already found out the "hard way", but many thanks for coming back!
Take care - Steen