net-mgmt/zabbix-agent: post-merge fixes, refs #2348

This commit is contained in:
Frank Wall 2021-07-11 14:39:52 +02:00
parent 2713bdf732
commit 5e445a4dde
2 changed files with 2 additions and 5 deletions

View File

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

View File

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