Skip to content

morbz-archive/munin-php-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

This is a revised version of Devlopnet / munin-php-fpm with the difference that processes are combined based on their pools. Also there is an average process age graph and a process count graph.

Setup PHP-FPM

This plugin requires PHP CLI.

Install Plugin

$ cd /usr/share/munin/plugins/
$ [sudo] wget -O php-fpm https://raw.github.com/MorbZ/munin-php-fpm/master/php-fpm.php
$ [sudo] chmod +x php-fpm

Setup Graphs

Average process memory per pool:
$ [sudo] ln -s /usr/share/munin/plugins/php-fpm /etc/munin/plugins/php-fpm-memory

CPU per pool:
$ [sudo] ln -s /usr/share/munin/plugins/php-fpm /etc/munin/plugins/php-fpm-cpu

Number of processes per pool:
$ [sudo] ln -s /usr/share/munin/plugins/php-fpm /etc/munin/plugins/php-fpm-count

Average process age per pool:
$ [sudo] ln -s /usr/share/munin/plugins/php-fpm /etc/munin/plugins/php-fpm-time

Don't forget to restart Munin after changing plugins:
$ [sudo] service munin-node restart

About

Munin PHP FPM Plugin combined by pool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages