AppD Archive

Having issues with HA Proxy Monitor

CommunityUser
Splunk Employee
Splunk Employee

I have been using the appdynamics java and standalone agent with no issues in our environment, but now that we are attempting to monitor our HA Proxy servers I am running into issues. I installed the HA Proxy Monitor from under monitor folder of the standalone agent:

http://community.appdynamics.com/t5/eXchange-Community-AppDynamics/HA-Proxy-Monitoring-Extension/idc...

However it fails to load the HA Proxy Monitor due to a missing library file:

[Agent-Monitor-Scheduler-2] 28 Apr 2015 16:54:47,868  INFO PeriodicTaskRunner - Periodic Task - setup metric feed for [HAProxy Monitor Run Task]

[Agent-Monitor-Scheduler-2] 28 Apr 2015 16:54:47,869  INFO HAProxyMonitor - Starting the HAProxy Monitoring Task

[Agent-Monitor-Scheduler-2] 28 Apr 2015 16:54:48,220 ERROR PeriodicTaskRunner - Error creating environment task

java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager

        at com.appdynamics.extensions.haproxy.HAProxyMonitor.execute(HAProxyMonitor.java:104)

I checked the jar that is associated with the monitor and don't actually see http client under there. I am specifying the default value for the host as localhost with port 80. Any ideas why I am having this missing library issue? Thanks!

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you download the commons-httpclient-<version>.jar and add to below xml element after droping the jar in same proxy monttor jar locaiton and see how it goes with restart, we see this class somehow missing in the lib, Hope that information helps

<classpath>haproxy-monitoring-extension.jar</classpath>

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the reply. I was able to get it working after I contacted AppDynamics support and they provided me with a new AppDynamics jar that included the missing files.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...