What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

PRTG and HAProxy

Votes:

0

Your Vote:

Up

Down

How can I get real-time health of the backend servers and possibly statistics, such as number of connections for each backend listener for load balancing in PRTG for HAProxy?

After adding my HAProxy instance into PRTG, I get the standard Ping, CPU load, memory, eth0 sensors. I cannot find any way, after searching, to get HAProxy statistics, only the host statistics.

I would like have any failed host checks from HAProxy to be logged in PRTG, and notified if the service, or backend host is down. Any ideas?

Ubuntu Server 12.04 LTS HAProxy 1.4.18

Thanks, Timm

haproxy prtg ubuntu

Created on Dec 31, 2013 3:37:22 PM by  TimmZahn (0) 1



Best Answer

Accepted Answer

Votes:

6

Your Vote:

Up

Down

You may wish to look into this. It appears that someone has scripted out monitoring haproxy with a PowerShell script:

http://lazic.info/josip/post/monitor-haproxy-via-prtg/

Created on Jun 24, 2015 8:47:00 PM by  Josiah Ritchie (120) 1 1



3 Replies

Votes:

1

Your Vote:

Up

Down

Hi,
there is no native sensor in PRTG but you might check the HA Proxy documentation if there is some kind of SNMP integration. If so, a MIB file should be offered as well. The MIB file could then be imported to PRTG using the MIB Importer.
Best regards

Created on Jan 2, 2014 10:02:50 AM by  Konstantin Wolff [Paessler Support]



Accepted Answer

Votes:

6

Your Vote:

Up

Down

You may wish to look into this. It appears that someone has scripted out monitoring haproxy with a PowerShell script:

http://lazic.info/josip/post/monitor-haproxy-via-prtg/

Created on Jun 24, 2015 8:47:00 PM by  Josiah Ritchie (120) 1 1



Votes:

0

Your Vote:

Up

Down

A new open source SNMP agent and MIB are now available for HAProxy. Loadbalancer.org have a blog with detailed instructions for importing the MIBs to PRTG:

https://www.loadbalancer.org/blog/loadbalancer-org-releases-open-source-snmp-mib-and-agent-for-haproxy/

Created on Sep 3, 2020 1:24:37 PM by  malcolmturnbull (0)



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.