Skip to content

haproxy-status3: Non-sense check #571

Closed

Description

@10RUPTiV

Hi,

The data gathering some haproxy csv is having some part that need to be excluded from the check!

image

The SERVERNAME " BACKEND " will always be /1.0 , that mean it will always generate a CRITICAL.

We spoke with Haproxy team (we have a business contract with them) and they told us, there's no way in the config to increase the /1.0 on for this one.

Maybe it should be remove from the "check" ?

Activity

  1. added this to the M001 milestone on Apr 21, 2022
  2. self-assigned this
    on Apr 21, 2022
  3. markuslf commented on Apr 21, 2022

    @markuslf
    Member

    I will have a look into it. 👍

  4. markuslf commented on Jun 17, 2022

    @markuslf
    Member

    It seems that you are referring to the Sessions column, and you get a CRIT, because 2 out of 1 possible sessions are used (which is weird).

    I had a look at the plugin output in one of our datacenters. There, the output looks like this:
    image

    So in BACKEND, our HAproxy supports up to 300 connections. In this special case, we are running HAProxy version 2.4.17, and check plugin version 2022021602. What do you use on your side?

  5. 10RUPTiV commented on Jun 21, 2022

    @10RUPTiV
    Author

    Markus,

    We are using HAproxy EE 2.4r1 and the latest plugin...

    But in our backend config, we have not set any limit... that's probably why we have a limit of "1"

  6. 10RUPTiV commented on Jun 21, 2022

    @10RUPTiV
    Author

    Just did a little test and I can confirm that having no maxconn in the backend setting, equal "unlimited" until we reach the GLOBAL maxconn

  7. markuslf commented on Jun 30, 2022

    @markuslf
    Member

    Closing this issue. If this check warns about sessions, this is a HAProxy configuration issue. Unsetting or setting maxconn to appropriate values helps (as intended and expected).

  8. locked and limited conversation to collaborators on Jul 1, 2022
  9. converted this issue into a discussion #592 on Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions