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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...