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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...