Coder Social home page Coder Social logo

arunchinnachamy / munin-php-apc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vivid-planet/munin-php-apc

0.0 1.0 0.0 60 KB

Munin plugin for monitoring PHP APC (Alternative PHP Cache) Fork from http://code.google.com/p/munin-php-apc/

PHP 32.39% Perl 67.61%

munin-php-apc's Introduction

Requirements

The php_apc_ plugin is made for the Munin v1.4.0+ monitoring system.

The Munin homepage can be found at: http://munin-monitoring.org/

Documentation

Project homepage: http://code.google.com/p/munin-php-apc/

Installation and Usage

Copy the file apc_info.php to a location accessible to the web server, such as:

www.example.com/apc_info.php

Add the following lines to the munin-node file, usually found in /etc/munin/plugin-conf.d/munin-node.

[php_apc_*]
user root
env.url http://www.example.com/apc_info.php?auto

There are 10 available graphs for this multi graph plugin:

  • php_apc_files
  • php_apc_fragmentation
  • php_apc_hit_miss
  • php_apc_purge
  • php_apc_rates
  • php_apc_usage
  • php_apc_mem_size
  • php_apc_user_hit_miss
  • php_apc_user_entries
  • php_apc_user_rates

Each required graph should be added to the plugins directory, usually found in /etc/munin/plugins/.

The common approach is to copy the file apc_php_ to the directory /usr/share/munin/plugins/ and then add a symbolic link to it from /etc/munin/plugins/.

For example:

sudo ln -s /usr/share/munin/plugins/php_apc_ /etc/munin/plugins/php_apc_files
sudo ln -s /usr/share/munin/plugins/php_apc_ /etc/munin/plugins/php_apc_fragmentation
..

After symlinking the files, restart munin-node ($ sudo service munin-node restart).

For more information regarding installation of Munin plugins, read the Munin documentation.

Archive Contents

The complete project archive contains the following files:

php_apc_        - the php_apc_ Munin plugin.
apc_info.php    - the PHP script that is called by the plugin.
CHANGELOG.txt   - a list of changes made to the project.
README.txt      - this file.

Todo

  • Rewrite Munin plugin in PHP rather than Perl.

Licensing

php_apc_ is licensed under the MIT License.

munin-php-apc's People

Contributors

nsams avatar geerlingguy avatar

Watchers

Arun Chinnachamy 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.