1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Merge branch 'categories'

Category Tree: Reduce number of categories
This commit is contained in:
dipohl 2017-02-21 18:25:38 +01:00
commit eb55100906
16 changed files with 17 additions and 16 deletions

View file

@ -56,7 +56,7 @@ if(defined($ARGV[0])) {
print "graph_title $server access byprojects\n";
print "graph_total Total\n";
print "graph_vlabel Access by \${graph_period}\n";
print "graph_category $server\n";
print "graph_category webserver\n";
print "graph_info This graph show $server access by various projects.\n";
while ((my $project, my @files) = each(%logs)) {
print $project.".label $project\n";

View file

@ -62,7 +62,7 @@ if(defined($ARGV[0])) {
print "graph_title $server total bandwidth byprojects\n";
print "graph_total Total\n";
print "graph_vlabel Bits\n";
print "graph_category $server\n";
print "graph_category webserver\n";
print "graph_info This graph show $server total bandwidth used by various " .
"projects.\n";
while ((my $project, my @files) = each(%logs)) {

View file

@ -59,7 +59,7 @@ if(defined($ARGV[0])) {
print "graph_title $server in/out bandwidth byprojects\n";
print "graph_args --base 1000\n";
print "graph_vlabel bits per \${graph_period} in (-) / out (+)\n";
print "graph_category $server\n";
print "graph_category webserver\n";
print "graph_info This graph show $server in/out bandwidth used by various" .
" projects.\n";
while ((my $project, my @files) = each(%logs)) {

View file

@ -31,7 +31,7 @@ $aris_db_pass='password';
if ($argv[1]=='config'){
print "graph_title ARIS active players\n";
print "graph_vlabel Players Count\n";
print "graph_category ARIS\n";
print "graph_category games\n";
print "players.label player count\n";
exit;

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-eaccelerator\n' +
'graph_category webserver\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-eaccelerator\n' +
'graph_category webserver\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-eaccelerator\n";
print "graph_category webserver\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 php-cgi";
echo "graph_category processes";
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-fastcgi\n";
print "graph_category processes\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 php-fpm"
echo "graph_category processes"
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 php-apc
graph_category memory
graph_order mem_used mem_avail
graph_total Total
mem_avail.label Memory available

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 php-eaccelerator\n"
print "graph_category webserver\n"
print "Memoryusagepercentage.label Memory Usage %\n"
print "Memoryusagepercentage.warning 95\n"
print "Memoryusagepercentage.critical 95\n"

View file

@ -47,6 +47,7 @@ fi
if [[ $1 == config ]]; then
echo 'graph_title PHP Errors from ' $LOGS
echo 'graph_args --base 1000 -l 0'
echo 'graph_category webserver'
echo 'graph_vlabel Errors'
echo 'LogWarning.label PHP Warning errors'
echo 'LogNotice.label PHP Notice errors'

View file

@ -126,7 +126,7 @@ graph_title php5-fpm processes for $pool
graph_args --base 1000 -l 0
graph_vlabel Processes
graph_scale yes
graph_category php-fpm
graph_category processes
graph_info This graph shows the php5-fpm process manager status from pool: $pool
active.label Active processes
active.type GAUGE
@ -146,7 +146,7 @@ graph_title php5-fpm slow requests $pool
graph_args --base 1000 -l 0
graph_vlabel Slow requests
graph_scale yes
graph_category php-fpm
graph_category processes
graph_info This graph shows the php5-fpm slow request from pool: $pool
slow_requests.label Slow requests
slow_requests.type DERIVE

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 php-opcache
graph_category memory
graph_order mem_used mem_free mem_wasted
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 php-sessions'
echo 'graph_category webserver'
echo "graph_args --lower-limit 0"
echo 'graph_vlabel n'