On 10/11/2013 12:30 PM, Adam Armstrong wrote:
On 2013-10-11 11:14, James Bensley wrote:
Howdy all,
I'm getting lots of emails for a few devices that have basic ADSL connectivity. Pings from the Observium box have a high RTT and timeout (I guess). Said emails have the following subject;
Device Down: device.network.net (ping) Device Up: device.network.net
I am getting these emails 5 minutes apart. Each time the poller runs the host is either back up again or going down again. This is happening for a few devices with congested ADSL connections (which is a separate issue in itself!).
I have tried to raise the the timeout options in the config, thus;
$config['ping']['timeout'] = 3000; # timeout in ms $config['ping']['retries'] = 6; # how many times to retry the query
Timeout range is 50-2000ms Retries range is 1-10
Setting retries to > 2000 will cause it to revert to 500ms.
We can see that in the code, but it's not in the documentation I believe? :)
In fact, why do we limit it, other than Mike's secret crush on filter_var() ? :D
Tom