Project

General

Profile

Actions

Bug #8593

closed

Extend maximum gateway monitoring ping interval

Added by Anonymous almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Gateway Monitoring
Target version:
Start date:
06/22/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

The existing maximum gateway monitoring ping interval is 86,400 ms, or about a minute and a half. Over strictly metered connections, such as cellular backups, this can add up to significant costs over time. Recommend increasing the maximum monitoring interval to 86,400,000 ms (24 hours). PR to follow.

Actions #1

Updated by Anonymous almost 6 years ago

Actions #2

Updated by Jim Pingle almost 6 years ago

The 86400 limit is likely a holdover from when it used to be seconds, but letting it go up to a full day seems like it wouldn't be very useful in practice. I'd say the highest it should go should maybe be around 30-60 minutes.

Beyond that, the check can be disabled so the gateway is assumed to be up, which is better for backup cellular WANs since it wouldn't send any checks. If it's a PPP device on the firewall you can see the up/down status in the interfaces widget/status since it would show the login uptime. If it's a device that exposes the connection as Ethernet that's trickier.

Actions #3

Updated by Anonymous almost 6 years ago

I can modify it down to 3,600,000 ms (60 minutes) in the PR, if that works.

Actions #4

Updated by Jim Pingle almost 6 years ago

  • Category set to Gateway Monitoring
  • Target version set to 2.4.4
  • Affected Version set to 2.4.x
  • Affected Architecture All added
  • Affected Architecture deleted ()

I'd prefer that, but it's open for debate if there is a valid use case I'm not thinking of.

Actions #5

Updated by Anonymous almost 6 years ago

I'll be honest, I didn't really have a maximum value in mind. I saw the existing value and thought "oh, they must have meant 86400 seconds, because that's a full day," and tacked on three zeroes. I do agree that a monitoring interval that long would have limited real world value. I'll bring the value down to 60 minutes.

Actions #6

Updated by Anonymous almost 6 years ago

Change committed to the PR branch.

Actions #7

Updated by Jim Pingle almost 6 years ago

  • Assignee set to Jim Pingle
Actions #8

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback

PR merged

Actions #9

Updated by Anonymous over 5 years ago

On 2.4.4.a.20180705.0032 you're able to set the probe interval to a max value of 36000000 as expected.

Actions #10

Updated by Jim Pingle over 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF