Failed to insert HAProxy in Discovery

Rafael Pinto
Tera Contributor

Hello. During the discovery of a Linux Server, I'm facing the problem that HAProxy load balancers are not being inserted in the cmdb_ci_lb_haproxy. I'm getting the error message below, however I was not ablt to find any further information.

Does anyone know what could be the cause of this problem? Thank you.

 

haproxy_error.png

1 REPLY 1

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Rafael Pinto ,

 

Please check the below pre-req are enabled for HA Proxy discovery.

 

Consider the following requirements for discovering the HAProxy:
  • The HAProxy software is installed and running on a Linux server.
  • The MID Server is deployed to explore the server and the MID Server has access to the server HAProxy configuration file.
  • The configuration probe checks for the haproxy.cfg file using one of the following methods:
    • Using the f parameter for the HAProxy process output.
    • Using the default /etc/haproxy/haproxy.cfg path.
  • The HAProxy probes require credentials and execute privileges to run commands.

Discovery uses the Unix - Active Processes probe to identify an HAProxy load balancer when the name of the process is haproxy. If this criterion matches, a record is created in the HAProxy Load Balancers [cmdb_ci_lb_haproxy] table if one does not already exist for that running process.

 

Refer below document for more info.

 

https://docs.servicenow.com/bundle/washingtondc-it-operations-management/page/product/discovery/conc...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024