mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 22:33:07 -04:00
plugins: cleanups
This commit is contained in:
parent
8beadebc55
commit
f7bc50cb2b
4 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@
|
|||
[global]
|
||||
history = 86400
|
||||
bind to = {% if ':' in OPNsense.netdata.general.listen %}[{{ OPNsense.netdata.general.listen }}]{% else %} {{ OPNsense.netdata.general.listen }}{% endif %}
|
||||
|
||||
|
||||
disconnect idle web clients after seconds = 3600
|
||||
run as user = netdata
|
||||
web files owner = netdata
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
<label>Config Frequency</label>
|
||||
<type>text</type>
|
||||
<help>Specifies the time how often proxy retrieves configuration data from zabbix server (in seconds).</help>
|
||||
</field>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.datasenderfrequency</id>
|
||||
<label>Data Sender Frequency</label>
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ function update_chronyauthdata() {
|
|||
setInterval(update_chronysourcestats, 5000);
|
||||
setInterval(update_chronytracking, 5000);
|
||||
setInterval(update_chronyauthdata, 5000);
|
||||
|
||||
|
||||
// link save button to API set action
|
||||
$("#saveAct").click(function(){
|
||||
saveFormToEndpoint(url="/api/chrony/general/set", formid='frm_general_settings',callback_ok=function(){
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ client "{{ client_list.name }}" {
|
|||
shortname = "{{ client_list.name }}"
|
||||
{% if ':' in client_list.ip %}
|
||||
ipv6addr = {{ client_list.ip }}
|
||||
{% else %}
|
||||
{% else %}
|
||||
ipaddr = {{ client_list.ip }}
|
||||
{% endif %}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue