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

Feature Request: disable sessions checks

Open ghost opened this issue 7 years ago • 2 comments

In our setup we have just one connection per backend. So we always get an error for using more than 90% of the available sessions (1 of 1). I couldn't find a way to disable sessions check or tell them that 100% is still ok (101% seem to be changed to 90%).

Can you please add an options to disable session checks at all?

ghost avatar Dec 19 '17 14:12 ghost

@novij,

Agreed. It is an edge case which had not been considered. Line 457 is your issue with 101%, as it falls outside the allowed bounds and therefore uses the default value.

I'll see what I can do.

jonathanio avatar Jan 05 '18 16:01 jonathanio

just for the record: the fork https://github.com/montaguethomas/monitoring-nagios-haproxy works around the same issue with the --nolimits option

frisi avatar Feb 19 '18 15:02 frisi