net-mgmt/zabbix-agent: post-merge fixes, refs #2348
This commit is contained in:
parent
2713bdf732
commit
5e445a4dde
|
@ -45,9 +45,8 @@
|
|||
<field>
|
||||
<id>zabbixagent.settings.main.syslogEnable</id>
|
||||
<label>Log to syslog</label>
|
||||
<type>text</type>
|
||||
<help><![CDATA[Use syslog, instead of logging to file.]]></help>
|
||||
<advanced>true</advanced>
|
||||
<type>checkbox</type>
|
||||
<help><![CDATA[Use syslog instead of logging to a file.]]></help>
|
||||
</field>
|
||||
<field>
|
||||
<id>zabbixagent.settings.main.logFileSize</id>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
PidFile=/var/run/zabbix/zabbix_agentd.pid
|
||||
|
||||
|
||||
{% if helpers.exists('OPNsense.ZabbixAgent.settings.main.syslogEnable') and OPNsense.ZabbixAgent.settings.main.syslogEnable|default('0') == '1' %}
|
||||
LogType=system
|
||||
{% else %}
|
||||
|
@ -17,7 +16,6 @@ LogFile=/var/log/zabbix/zabbix_agentd.log
|
|||
LogFileSize={{OPNsense.ZabbixAgent.settings.main.logFileSize}}
|
||||
{% endif %}
|
||||
|
||||
|
||||
DebugLevel={{OPNsense.ZabbixAgent.settings.main.debugLevel|replace("val_", "")}}
|
||||
|
||||
{% if helpers.exists('OPNsense.ZabbixAgent.settings.main.sourceIP') %}
|
||||
|
|
Loading…
Reference in New Issue