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
When I am on the server pinging the devices that cause these alerts, the ping is never higher than 1500ms. Perhaps when the poller runs the delay is higher (although I haven't seen this behavious when running pings for 30+ mins). I did raise it to 6000ms but this didn't stop the alerts either. It seems to me that Observium isn't honoring those values.
Has anyone had any problems with these settings before?
The default timeout is 500ms which I wanted to raise anyway, but I'm not sure this is having any effect.
Cheers, James.
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.
adam.
Ah!
So that is likely my fatal mistake, trying 3000ms then 6000ms. I have set it to 2000.
I'll set what happens, thanks Adam!
James.
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
participants (3)
-
Adam Armstrong
-
James Bensley
-
Tom Laermans