2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Normalize php's plugin categories

This commit is contained in:
Mikel Olasagasti Uranga 2015-03-25 15:13:27 +01:00
parent 7264ba7d09
commit 2ad552cb04
11 changed files with 14 additions and 14 deletions

View File

@ -32,7 +32,7 @@ config = {
'graph_title eacceleratory memory usage\n' +
'graph_info This graph shows memory performance of PHP eaccelerator module\n' +
'graphs_args -1 0\n' +
'graph_category php\n' +
'graph_category php-eaccelerator\n' +
'memorysize.label total\n' +
'memorysize.draw AREA\n' +
@ -47,7 +47,7 @@ config = {
'graph_title eacceleratory cached scripts\n' +
'graph_info This graph shows how many scripts are cached by PHP eaccelerator module\n' +
'graphs_args -1 0\n' +
'graph_category php\n' +
'graph_category php-eaccelerator\n' +
'cachedscripts.label cached scripts\n' +
'cachedscripts.draw LINE1\n' +

View File

@ -51,7 +51,7 @@ if ($#ARGV eq 0) {
if ($ARGV[0] eq 'config') {
print "eAccelerator\n";
print "graph_title eAccelerator\n";
print "graph_category php\n";
print "graph_category php-eaccelerator\n";
print "memusage.label Memory Usage %\n";
print "memusage.warning 95\n";
print "memusage.critical 95\n";

View File

@ -23,7 +23,7 @@ fi
if [ "$1" = "config" ]; then
echo "graph_title PHP CGI Memory";
echo "graph_vlabel PHP CGI Memory usage in GB";
echo "graph_category apache";
echo "graph_category php-cgi";
echo "graph_args -l 0";
echo "php_cgi_ram.label PHP CGI Used RAM";
echo "php_cgi_ram.draw LINE2";

View File

@ -90,7 +90,7 @@ if (exists $ARGV[0] and $ARGV[0] eq "config") {
print "graph_title PHP CGI [MB]\n";
print "graph_vlabel PHP CGI Memory usage\n";
print "graph_category php\n";
print "graph_category php-fastcgi\n";
print "graph_args -l 0\n";
print "php_cgi_ram.label PHP CGI Used RAM\n";
print "php_cgi_ram.draw LINE2\n";

View File

@ -24,7 +24,7 @@ if [ "$1" = "config" ]; then
echo "graph_args --base 1000 -l 0"
echo "graph_vlabel Processes"
echo "graph_scale yes"
echo "graph_category nginx"
echo "graph_category php-fpm"
echo "graph_info This graph shows the php5-fpm process manager status from pool: $pool"
echo "active.label Active processes"
echo "active.type GAUGE"

View File

@ -56,7 +56,7 @@ cat <<'EOM'
graph_title APC Memory usage
graph_args -l 0 --base 1024
graph_vlabel Memory usage
graph_category apache
graph_category php-apc
graph_order mem_used mem_avail
graph_total Total
mem_avail.label Memory available
@ -76,7 +76,7 @@ cat <<'EOM'
graph_title APC Hits
graph_args -l 0
graph_vlabel Cache hits
graph_category apache
graph_category php-apc
graph_total Total
num_misses.label Missed
num_misses.draw AREA
@ -95,7 +95,7 @@ cat <<'EOM'
graph_title APC Percents
graph_args -l 0 --upper-limit 100
graph_vlabel Cache Percents %
graph_category apache
graph_category php-apc
hits.label hits
hits.draw AREA
hits.min 0

View File

@ -34,7 +34,7 @@ url = ENV['url'] || 'http://127.0.0.1/control.php'
if ARGV[0]=="config"
print "EAccelerator Monitoring\n"
print "graph_title PHP Eaccelerator\n"
print "graph_category Apache\n"
print "graph_category php-eaccelerator\n"
print "Memoryusagepercentage.label Memory Usage %\n"
print "Memoryusagepercentage.warning 95\n"
print "Memoryusagepercentage.critical 95\n"

View File

@ -121,7 +121,7 @@ if ( defined $ARGV[0] and $ARGV[0] eq "config" )
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel Processes\n";
print "graph_scale yes\n";
print "graph_category php\n";
print "graph_category php-fpm\n";
print "graph_info This graph shows the php5-fpm process manager status from pool: $pool\n";
print "active.label Active processes\n";
print "active.type GAUGE\n";

View File

@ -36,7 +36,7 @@ cat <<'EOM'
graph_title OPCache Memory usage
graph_args -l 0 --base 1024
graph_vlabel Memory usage
graph_category nginx
graph_category php-opcache
graph_order mem_used mem_free
graph_total Total
mem_free.label Memory Free

View File

@ -53,7 +53,7 @@ fi
if [ "$1" = "config" ]; then
echo 'graph_title Apache/PHP Sessions'
echo 'graph_info This graph shows active Apache/PHP sessions.'
echo 'graph_category apache'
echo 'graph_category php-sessions'
echo "graph_args --lower-limit 0"
echo 'graph_vlabel n'

View File

@ -53,7 +53,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel Time in microsecond'
echo "graph_category PHP"
echo "graph_category php-time"
echo "graph_info This graph shows load time in ms of $target"
echo "minloadtime.label Min time"
echo "minloadtime.info Min time"