net-mgmt/zabbix-agent: allow CIDR notation, resolves #2296

This commit is contained in:
Frank Wall
2021-07-11 13:45:00 +02:00
parent 70497698e0
commit 75a4a908b1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -12,6 +12,11 @@ WWW: https://www.zabbix.com/
Plugin Changelog
----------------
1.9
Added:
* Allow CIDR notation in "Zabbix Servers" field (#2296)
1.8
* Add Changelog (contributed by Starkstromkonsument)
@@ -22,7 +22,7 @@
<default>127.0.0.1</default>
<Required>Y</Required>
<multiple>Y</multiple>
<mask>/^([a-zA-Z0-9\.:\[\]\-]*?,)*([a-zA-Z0-9\.:\[\]\-]*)$/</mask>
<mask>/^([a-zA-Z0-9\.:\[\]\-\/]*?,)*([a-zA-Z0-9\.:\[\]\-\/]*)$/</mask>
<ChangeCase>lower</ChangeCase>
<ValidationMessage>Please provide valid Zabbix server addresses, i.e. 10.0.0.1 or zabbix.example.com.</ValidationMessage>
</serverList>