diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-06-21 08:33:29 +0545 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2013-06-21 18:06:36 -0500 |
commit | 51f1fc586f9be424ebe04348eff1572310bce640 (patch) | |
tree | 13e88ce8fd42643d32d744f77b15620a609f47cd | |
parent | 94fb9f2d97fe3b2a2cbcc53a943d93946943fbc5 (diff) | |
download | pfsense-51f1fc586f9be424ebe04348eff1572310bce640.zip pfsense-51f1fc586f9be424ebe04348eff1572310bce640.tar.gz |
Use Probe Interval on gateway advanced settings
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 54aead3..01cd7d0 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -324,10 +324,10 @@ if ($_POST) { if($_POST['interval']) { if (! is_numeric($_POST['interval'])) { - $input_errors[] = gettext("The frequency probe interval needs to be a numeric value."); + $input_errors[] = gettext("The probe interval needs to be a numeric value."); } else { if ($_POST['interval'] < 1) { - $input_errors[] = gettext("The frequency probe interval needs to be positive."); + $input_errors[] = gettext("The probe interval needs to be positive."); } } } @@ -345,21 +345,21 @@ if ($_POST) { if(($_POST['interval']) && ($_POST['down'])){ if ((is_numeric($_POST['interval'])) && (is_numeric($_POST['down']))) { if($_POST['interval'] > $_POST['down']) { - $input_errors[] = gettext("The Frequency Probe interval needs to be less than the down time setting."); + $input_errors[] = gettext("The probe interval needs to be less than the down time setting."); } } } else { if($_POST['interval']){ if (is_numeric($_POST['interval'])) { if($_POST['interval'] > $apinger_default['down']) { - $input_errors[] = gettext(sprintf("The Frequency Probe interval needs to be less than the default down time setting (%d)", $apinger_default['down'])); + $input_errors[] = gettext(sprintf("The probe interval needs to be less than the default down time setting (%d)", $apinger_default['down'])); } } } if($_POST['down']){ if (is_numeric($_POST['down'])) { if($_POST['down'] < $apinger_default['interval']) { - $input_errors[] = gettext(sprintf("The down time setting needs to be higher than the default Frequency Probe interval (%d)", $apinger_default['interval'])); + $input_errors[] = gettext(sprintf("The down time setting needs to be higher than the default probe interval (%d)", $apinger_default['interval'])); } } } @@ -624,13 +624,13 @@ function monitor_change() { </td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq"><?=gettext("Frequency Probe");?></td> + <td width="22%" valign="top" class="vncellreq"><?=gettext("Probe Interval");?></td> <td width="78%" class="vtable"> <input name="interval" type="text" class="formfld unknown" id="interval" size="2" value="<?=htmlspecialchars($pconfig['interval']);?>" /> <br/><span class="vexpl"> <?=gettext(sprintf("How often that an ICMP probe will be sent in seconds. Default is %d.", $apinger_default['interval']));?><br/><br/> - <?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the frequency probe is increased the accuracy of the quality graph is decreased.");?> + <?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the probe interval is increased the accuracy of the quality graph is decreased.");?> </span> </td> </tr> @@ -644,8 +644,8 @@ function monitor_change() { </tr> <tr> <td colspan="2"> - <?= gettext("The Frequency Probe interval must be less than the Down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br/><br/> - <?= gettext("The Down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the Frequency Probe value. For example, if your Down time is 40 seconds but on a 30 second frequency, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br/> + <?= gettext("The probe interval must be less than the down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br/><br/> + <?= gettext("The down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the probe interval. For example, if your down time is 40 seconds but on a 30 second probe interval, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br/> </td> </tr> </table> |