1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Reduce number of categories, use more generic terms

This commit is contained in:
Gabriele Pohl 2014-09-06 22:28:53 +02:00
parent 0743e6e5fb
commit e3899a30d8
44 changed files with 66 additions and 66 deletions

View file

@ -35,7 +35,7 @@ if [ "$1" = "config" ]; then
echo 'graph_vlabel %'
echo 'graph_scale no'
echo 'graph_info This graph shows the percentage of processor time spent in kernel mode by the every single VM process.'
echo 'graph_category virtualbox'
echo 'graph_category Virtualization'
echo 'graph_period second'
vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do
VM_NAME_PRINT=`echo -e "${VM_NAME}" | sed 's/[^A-Za-z0-9_]/_/g'`

View file

@ -35,7 +35,7 @@ if [ "$1" = "config" ]; then
echo 'graph_vlabel %'
echo 'graph_scale no'
echo 'graph_info This graph shows the percentage of processor time spent in user mode by the every single VM process.'
echo 'graph_category virtualbox'
echo 'graph_category Virtualization'
echo 'graph_period second'
vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do
VM_NAME_PRINT=`echo -e "${VM_NAME}" | sed 's/[^A-Za-z0-9_]/_/g'`

View file

@ -39,7 +39,7 @@ RAMTOT=`free -b | grep Mem | awk '{print $2}'`
echo "graph_args --base 1024 -r --lower-limit 0 --upper-limit $RAMTOT --units-exponent 9"
echo 'graph_vlabel GB'
echo 'graph_info This graph shows the ram usage of every single VM process.'
echo 'graph_category virtualbox'
echo 'graph_category Virtualization'
echo 'graph_period second'
I=0
vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do

View file

@ -62,7 +62,7 @@ my @lines=split(/\n/,$output);
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
my $lcount = 0;
my $base_config = "graph_category VMware Fusion\n";
my $base_config = "graph_category Virtualization\n";
if( $type eq "pcpu" ) {
print $base_config;

View file

@ -16,7 +16,7 @@ if [ "$1" = "config" ]; then
echo 'graph_title VMware CPU-Load'
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel Load of VMware VMs'
echo 'graph_category VMware'
echo 'graph_category Virtualization'
while [ $i -lt ${#VMX[*]} ]
do

View file

@ -43,7 +43,7 @@ else
fi
if [ "$1" = "config" ]; then
echo 'graph_category vserver'
echo 'graph_category Virtualization'
echo 'graph_args --base 1000'
echo 'graph_title Vserver cpu usage'
echo 'graph_vlabel jiffies used per ${graph_period}'

View file

@ -89,7 +89,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Vserver $resource limit hits"
# echo 'graph_args --base 1024k -l 0'
echo "graph_vlabel $resource limit hits"
echo 'graph_category vserver'
echo 'graph_category Virtualization'
echo "graph_info Shows number of hits on $resource limits by each vserver.'"
for vserver_xid in $vservers ; do

View file

@ -66,7 +66,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Vserver $resource limits"
# echo 'graph_args --base 1024k -l 0'
echo "graph_vlabel $resource limits"
echo 'graph_category vserver'
echo 'graph_category Virtualization'
echo "graph_info Shows current $resource limits for each vserver.'"
for vserver_xid in $vservers ; do

View file

@ -36,7 +36,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0 --upper-limit 100 --rigid'
echo 'graph_scale no'
echo 'graph_vlabel %'
echo 'graph_category xen'
echo 'graph_category Virtualization'
echo 'graph_info This graph shows how many percent of the CPU time was used by each domain'
xm list | grep -v "^Name .* Time(s)$" | \

View file

@ -53,7 +53,7 @@ if (defined($ARGV[0])) {
'graph_title' => 'Xen Domain CPU Usage',
'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid',
'graph_vlabel' => 'Percent (%)',
'graph_category' => 'xen',
'graph_category' => 'Virtualization',
'graph_info' => 'Display the % of CPU Usage for each domain',
);

View file

@ -169,7 +169,7 @@ if ($ARGV[0] eq "config") {
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel cpu seconds\n";
print "graph_scale no\n";
print "graph_category xen\n";
print "graph_category Virtualization\n";
print "graph_info This graph shows CPU time for each Xen domain.\n";
for $domain (@domainlist) {
print "$domains{$domain}{'munindomain'}_cpu_time.label ".trim_label('pos',$domain)."\n";
@ -186,7 +186,7 @@ if ($ARGV[0] eq "config") {
print "graph_args --base 1000 -l 0 --upper-limit 100\n";
print "graph_vlabel %\n";
print "graph_scale no\n";
print "graph_category xen\n";
print "graph_category Virtualization\n";
print "graph_info This graph shows CPU utilization for each Xen domain.\n";
for $domain (@domainlist) {
print "$domains{$domain}{'munindomain'}_cpu.label ".trim_label('pos',$domain)."\n";
@ -199,7 +199,7 @@ if ($ARGV[0] eq "config") {
print "graph_title Xen domains memory usage\n";
print "graph_args --base 1024 -l 0\n";
print "graph_vlabel bytes\n";
print "graph_category xen\n";
print "graph_category Virtualization\n";
print "graph_info This graph shows memory usage for each Xen domain.\n";
for $domain (@domainlist) {
print "$domains{$domain}{'munindomain'}_mem.label ".trim_label('pos',$domain)."\n";
@ -213,7 +213,7 @@ if ($ARGV[0] eq "config") {
print "graph_title Xen domains network traffic\n";
print "graph_args --base 1000\n";
print "graph_vlabel bits per \${graph_period} in (-) / out (+)\n";
print "graph_category xen\n";
print "graph_category Virtualization\n";
print "graph_info This graph shows network traffic for each Xen domain.\n";
for $domain (@domainlist) {
print "$domains{$domain}{'munindomain'}_netrx.label none\n";
@ -233,7 +233,7 @@ if ($ARGV[0] eq "config") {
print "graph_title Xen domains disk IOs\n";
print "graph_args --base 1000\n";
print "graph_vlabel IOs per \${graph_period} read (-) / write (+)\n";
print "graph_category xen\n";
print "graph_category Virtualization\n";
print "graph_info This graph shows disk IOs for each Xen domain.\n";
for $domain (@domainlist) {
print "$domains{$domain}{'munindomain'}_vbdrd.label none\n";

View file

@ -72,7 +72,7 @@ if ( defined($ARGV[0]) )
'graph_title' => 'Xen Domain CPU Usage v2',
'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid',
'graph_vlabel' => 'Percent (%)',
'graph_category' => 'xen',
'graph_category' => 'Virtualization',
'graph_info' => 'Display the % of CPU Usage for each domain',
);
@ -186,4 +186,4 @@ open(FH, ">", $TEMPFILE) or die $!;
print FH $curtime."\n";
print FH @xmlist;
close FH;

View file

@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_scale no'
echo 'graph_vlabel MB'
echo 'graph_category xen'
echo 'graph_category Virtualization'
echo 'graph_info This graph shows of many mS wall time where used by a domain'
# xm info | while read name bla value; do echo "$name $value"; done
$XM info | while read name bla value; do

View file

@ -35,7 +35,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Xen Traffic for $NAME"
echo 'graph_vlabel bits in (-) / out (+) per ${graph_period}'
echo 'graph_args --base 1024 -l 0'
echo 'graph_category xen'
echo 'graph_category Virtualization'
echo 'out.label sent'
echo 'out.type DERIVE'
echo 'out.min 0'

View file

@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then
echo 'graph_title Xen Traffic'
echo 'graph_vlabel bits received (-) / sent (+) per ${graph_period}'
echo 'graph_args --base 1024 -l 0'
echo 'graph_category xen'
echo 'graph_category Virtualization'
DOMAINS=$(xm list | awk '{print $1}' | egrep -v "^(Name|Domain-0)")
for dom in $DOMAINS; do
name=$( echo $dom | tr .- __ )

View file

@ -42,7 +42,7 @@ if ( defined($ARGV[0]))
'graph_title' => 'Xen Domain I/O usage',
'graph_args' => '--base 1024 -l 0',
'graph_vlabel' => 'read (-), write (+)',
'graph_category' => 'xen',
'graph_category' => 'Virtualization',
'graph_info' => 'Display the I/O operations for each domain',
);