Révision a99547e4
Ajouté par Ermal il y a plus de 9 ans
etc/inc/gwlb.inc | ||
---|---|---|
44 | 44 |
"avg_delay_samples" => "10", |
45 | 45 |
"avg_loss_samples" => "50", |
46 | 46 |
"avg_loss_delay_samples" => "20"); |
47 |
}
|
|
47 |
} |
|
48 | 48 |
|
49 | 49 |
/* |
50 | 50 |
* Creates monitoring configuration file and |
... | ... | |
61 | 61 |
return; |
62 | 62 |
} |
63 | 63 |
|
64 |
$apinger_debug = ""; |
|
65 |
if (isset($config['system']['apinger_debug'])) |
|
66 |
$apinger_debug = "debug on"; |
|
67 |
|
|
64 | 68 |
$apinger_default = return_apinger_defaults(); |
65 | 69 |
$apingerconfig = <<<EOD |
66 | 70 |
|
67 | 71 |
# pfSense apinger configuration file. Automatically Generated! |
68 | 72 |
|
73 |
{$apinger_debug} |
|
74 |
|
|
69 | 75 |
## User and group the pinger should run as |
70 | 76 |
user "root" |
71 | 77 |
group "wheel" |
Formats disponibles : Unified diff
Provide a toggle for apinger debug messages to be logged to syslog. To help with roubleshooting issues