Failed to insert HAProxy in Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 05:09 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 06:53 AM
Hi @Rafael Pinto ,
Please check the below pre-req are enabled for HA Proxy discovery.
- 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.
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