Git Product home page Git Product logo

plugin-apache's Introduction

Boundary Apache HTTP Server Plugin

Collects metrics from a Apache HTTP server instance. See video walkthrough.

Prerequisites

OS Linux Windows SmartOS OS X
Supported v v v v

Boundary Meter Versions V4.0 Or Greater

Boundary Meter Versions Less Than V4.0

Runtime node.js Python Java
Required +

Plugin Setup

  • The Boundary Apache HTTP Server plugin depends on the server-stats module for collecting metrics. The sections below provide the procedures to enable and configure the server-stats module.

Enable the server-status Module

  1. Modify the Apache HTTP Server httpd.conf by adding the following:
    <Location /server-status>
       SetHandler server-status
    </Location>

Secure the EndPoint with a User Name and Password

  1. Create as password file to secure the endpoint. The example shown here is using the path /etc/httpd/my_password_file.
    $ sudo htpasswd -c /etc/httpd/my_password_file
    
  2. Enable authentication by modifying the <Location/> added previously as shown here :
    <Location /server-status>
       SetHandler server-status
       AuthType basic
       AuthName "Apache status"
       AuthUserFile /etc/httpd/my_password_file
       Require valid-user
    </Location>
  3. Restart Apache HTTP server reload the httpd.conf configuration.
  4. Verify that statistics are being collected by visiting http://yourserver.com/server-status
  5. To also capture the 'requests per second' metric, add ExtendedStatus On outside of your <Location /> block:
    <Location /server-status>
       SetHandler server-status
       AuthType basic
       AuthName "Apache status"
       AuthUserFile /etc/httpd/my_password_file
       Require valid-user
    </Location>
    ExtendedStatus On

Plugin Configuration Fields

Field Name Description
Server-Status URL The URL endpoint of where the Apache HTPP server statistics are hosted.
Username If the URL is password protected, what username should the plugin use to authenticate
Password If the URL is password protected, what password should the plugin use to authenticate
Poll Interval How often (in milliseconds) to poll for metrics (default: 1000).
Source Name identifying the specific instance of Apache HTTP server which is displayed in dashboards

Metrics Collected

Tracks the following metrics for apache

Metric Name Description
Apache Requests The number of Apache Accesses
Apache Total Bytes bytes transferred
Apache Bytes per Request average bytes per request
Apache CPU
Apache Busy Workers the number of busy workers
Apache Idle Workers the number of idle workers
Apache busy to idle ratio The ratio of busy workers / (busy + idle workers)

Dashboards

Apache Server

References

None

plugin-apache's People

Contributors

bighnf avatar codemoran avatar gabrielnicolasavellaneda avatar jdgwartney avatar pdiemert avatar ph07 avatar thedevilonline avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.