DinoTools / monitoring-check_haproxy

Monitoring plugin to check HAProxy with Icinga, Nagios and other compatible monitoring solutions
https://DinoTools.github.io/monitoring-check_haproxy/
GNU General Public License v2.0
7 stars 4 forks source link

Allow colon in backend names in overrides #8

Closed kepi closed 2 years ago

kepi commented 2 years ago

Citing official documenationt at https://docs.haproxy.org/2.6/configuration.html#4

All proxy names must be formed from upper and lower case letters, digits, '-' (dash), '_' (underscore) , '.' (dot) and ':' (colon). ACL names are case-sensitive, which means that "www" and "WWW" are two different proxies.

I didn't do extensive testing, we have only couple cases where we are using overrides. So please approach this as simple "works for us" and better double check.

phibos commented 2 years ago

Thanks for providing the fix.