cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Apache metrics on custom chart

emiliano
Inactive

Dear community!

I need generate a dashboard (on home dashboad) with Apache metrics like busy threads and count workers. ¿Is it posible?

Thanks in advance


7 REPLIES 7

thorsten_roth
Dynatrace Pro
Dynatrace Pro

Hi, I found the following:


Thorsten


@Thorsten R. I think @Emiliano B. refers to metrics for Apache HTTPD, not to Apache Tomcat.


TEMPEST a.s., Slovakia, Dynatrace Master Partner

rajeshwar_vadhe
Participant

looking for same info. Do we have ability to monitor apache httpd metrics like below ones?

ServerLimit         16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25

Hi Raj,

I do not believe the metrics you have listed are captured out of the box with Dynatrace.

The metrics I see on the apache httpd page are:

Requests, Traffice, busy threads, Idle threads, queue time, etc.

For these specific metrics I believe the easiest way to capture them is through creating a OneAgent Plugin. Pasting the documentation for writing a plugin below:

https://www.dynatrace.com/support/help/extend-dynatrace/plugins/oneagent-plugins/

Thanks

-Dallas

These, in particular, are not metrics but configuration settings. To get them you will need to either parse the configuration files or use the info module and parse them as shown here:

https://stackoverflow.com/questions/27152943/how-can-i-view-the-complete-httpd-configuration

Definitely you will need to write a oneagent plugin to get this information via Dynatrace. I'd recommend pushing the information as process level metadata.
However, writing such plugin requires some effort and it does make sense only if you need it for many apache instances.

TEMPEST a.s., Slovakia, Dynatrace Master Partner

david_lopes
Dynatrace Advisor
Dynatrace Advisor

Hello Emiliano,


What we have done for some customers is build a simple plugin that queries the apache httpd status, by using the mod_status module from Apache. It is a very simple plugin to build and deploy.

Hello David,

Is this plugin public? Can I find it on GihHub, for example?