plugins: cleanups

This commit is contained in:
Franco Fichtner 2021-04-12 08:51:04 +02:00
parent 8beadebc55
commit f7bc50cb2b
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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>

View file

@ -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(){

View file

@ -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 %}
}