monitoring-nagios-haproxy
monitoring-nagios-haproxy copied to clipboard
Fix icinga2 config
Correct call ./check_haproxy -S /var/run/haproxy/admin.sock -O chat:u,2,1 stats:x
Incorrect call ./check_haproxy -S /var/run/haproxy/admin.sock -O "chat:u,2,1 stats:x"
Using icinga2 functions we can fix this. Using macro() and split() we are able to return multiple strings from a single input string.
Closes #9