monitoring-nagios-haproxy icon indicating copy to clipboard operation
monitoring-nagios-haproxy copied to clipboard

Fix icinga2 config

Open fdellwing opened this issue 5 years ago • 0 comments

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

fdellwing avatar Aug 12 '20 08:08 fdellwing