mirror of
https://github.com/opnsense/plugins.git
synced 2025-12-10 10:30:21 -06:00
net-mgmt/zabbix-proxy and zabbix-agent: add ListenBacklog option (#5046)
Co-authored-by: Jeremy Gutierrez <Jeremy.gutierrez@markt.de>
This commit is contained in:
parent
df4b6e006e
commit
c77c3c0cca
@ -34,6 +34,14 @@
|
||||
<hint>Optional</hint>
|
||||
<help><![CDATA[An optional source IP address for outgoing connections.]]></help>
|
||||
</field>
|
||||
<field>
|
||||
<id>zabbixagent.settings.main.listenBacklog</id>
|
||||
<label>Listen Backlog</label>
|
||||
<type>text</type>
|
||||
<minimum>0</minimum>
|
||||
<maximum>2147483647</maximum>
|
||||
<help><![CDATA[The maximum number of pending connections in the TCP queue.]]></help>
|
||||
</field>
|
||||
<field>
|
||||
<id>zabbixagent.settings.main.serverList</id>
|
||||
<label>Zabbix Servers</label>
|
||||
|
||||
@ -46,6 +46,11 @@
|
||||
<NetMaskAllowed>N</NetMaskAllowed>
|
||||
<ValidationMessage>Please provide a valid IP address, i.e. 10.0.0.1.</ValidationMessage>
|
||||
</sourceIP>
|
||||
<listenBacklog type="IntegerField">
|
||||
<MinimumValue>0</MinimumValue>
|
||||
<MaximumValue>2147483647</MaximumValue>
|
||||
<Required>N</Required>
|
||||
</listenBacklog>
|
||||
<syslogEnable type="BooleanField"/>
|
||||
<logFileSize type="IntegerField">
|
||||
<Default>100</Default>
|
||||
|
||||
@ -33,6 +33,10 @@ Server={{OPNsense.ZabbixAgent.settings.main.serverList}}
|
||||
ListenPort={{OPNsense.ZabbixAgent.settings.main.listenPort}}
|
||||
ListenIP={{OPNsense.ZabbixAgent.settings.main.listenIP}}
|
||||
|
||||
{% if helpers.exists('OPNsense.ZabbixAgent.settings.main.listenBacklog') and OPNsense.ZabbixAgent.settings.main.listenBacklog != '' %}
|
||||
ListenBacklog={{ OPNsense.ZabbixAgent.settings.main.listenBacklog }}
|
||||
{% endif %}
|
||||
|
||||
{% if OPNsense.ZabbixAgent.settings.features.enableActiveChecks == '1' and OPNsense.ZabbixAgent.settings.features.activeCheckServers|default("") != "" %}
|
||||
ServerActive={{OPNsense.ZabbixAgent.settings.features.activeCheckServers}}
|
||||
{% endif %}
|
||||
|
||||
@ -57,6 +57,12 @@
|
||||
<type>text</type>
|
||||
<help>Source IP address for outgoing connections.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.listenbacklog</id>
|
||||
<label>Listen Backlog</label>
|
||||
<type>text</type>
|
||||
<help>The maximum number of pending connections in the TCP queue.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.startpollers</id>
|
||||
<label>Start Pollers</label>
|
||||
|
||||
@ -26,6 +26,11 @@
|
||||
<AsList>Y</AsList>
|
||||
</listenip>
|
||||
<sourceip type="NetworkField"/>
|
||||
<listenbacklog type="IntegerField">
|
||||
<MinimumValue>0</MinimumValue>
|
||||
<MaximumValue>2147483647</MaximumValue>
|
||||
<Required>N</Required>
|
||||
</listenbacklog>
|
||||
<startpollers type="TextField"/>
|
||||
<startipmipollers type="IntegerField"/>
|
||||
<startpollersunreachable type="IntegerField"/>
|
||||
|
||||
@ -25,6 +25,9 @@ ListenPort={{ OPNsense.zabbixproxy.general.listenport }}
|
||||
{% if helpers.exists('OPNsense.zabbixproxy.general.sourceip') and OPNsense.zabbixproxy.general.sourceip != '' %}
|
||||
SourceIP={{ OPNsense.zabbixproxy.general.sourceip }}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.zabbixproxy.general.listenbacklog') and OPNsense.zabbixproxy.general.listenbacklog != '' %}
|
||||
ListenBacklog={{ OPNsense.zabbixproxy.general.listenbacklog }}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.zabbixproxy.general.syslogEnable') and OPNsense.zabbixproxy.general.syslogEnable == '1' %}
|
||||
LogType=system
|
||||
{% else %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user