mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Review and unify category assignments of plugins
This commit is contained in:
parent
c8df9ab4e9
commit
33e95e6ff9
59 changed files with 99 additions and 100 deletions
|
@ -25,7 +25,7 @@ def config(vm_names):
|
|||
|
||||
base_config = """graph_title KVM Virtual Machine CPU usage
|
||||
graph_vlabel %%
|
||||
graph_category Virtualization
|
||||
graph_category virtualization
|
||||
graph_scale no
|
||||
graph_period second
|
||||
graph_info This graph shows the current CPU used by virtual machines
|
||||
|
|
|
@ -23,7 +23,7 @@ def config(vm_names):
|
|||
'''
|
||||
base_config = """graph_title KVM Virtual Machine IO usage
|
||||
graph_vlabel Bytes read(-)/written(+) per second
|
||||
graph_category Virtualization
|
||||
graph_category virtualization
|
||||
graph_info This graph shows the block device I/O used of virtual machines
|
||||
graph_args --base 1024
|
||||
"""
|
||||
|
|
|
@ -23,7 +23,7 @@ def config(vm_names):
|
|||
'''
|
||||
base_config = """graph_title KVM Virtual Machine Memory usage
|
||||
graph_vlabel Bytes
|
||||
graph_category Virtualization
|
||||
graph_category virtualization
|
||||
graph_info This graph shows the current amount of memory used by virtual machines
|
||||
graph_args --base 1024
|
||||
"""
|
||||
|
|
|
@ -201,7 +201,7 @@ sub init() {
|
|||
#print "graph_order rd wr\n";
|
||||
print "graph_title Disk utilization per domain in percent\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
print "graph_args -l 0 --base 1000 --upper-limit 100\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
|
@ -271,7 +271,7 @@ sub init() {
|
|||
#print "graph_order rd wr\n";
|
||||
print "graph_title Disk utilization on " . $vm . " in percent\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
print "graph_args -l 0 --base 1000 --upper-limit 100\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
|
@ -341,7 +341,7 @@ sub init() {
|
|||
print "graph_title Disk latency per domain in seconds\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel read (-) / write (+)\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vm (sort keys %hash) {
|
||||
|
@ -454,7 +454,7 @@ sub init() {
|
|||
print "graph_title Disk latency per vbd on $vm in seconds\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel read (-) / write (+)\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
if(defined($hash{$vm}{'devices'}{'block'})){
|
||||
|
@ -552,7 +552,7 @@ sub init() {
|
|||
print "graph_title Disk traffic per domain in bytes\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel bytes read (-) / written (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vm (sort keys %hash) {
|
||||
|
@ -621,7 +621,7 @@ sub init() {
|
|||
print "graph_title Disk traffic for " . $hash{$vm}{'name'} . "\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel bytes read (-) / written (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $device (keys %{$hash{$vm}{'devices'}{'block'}}){
|
||||
|
@ -671,7 +671,7 @@ sub init() {
|
|||
print "multigraph libvirt_disk_errs\n";
|
||||
print "graph_title Disk errors per domain\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
|
||||
for my $vm (sort keys %hash) {
|
||||
if(defined($hash{$vm}{'devices'}{'block'})){
|
||||
|
@ -723,7 +723,7 @@ sub init() {
|
|||
print "multigraph libvirt_disk_errs." . $hash{$vm}{'label'} . "\n";
|
||||
print "graph_title Disk errors for " . $hash{$vm}{'name'} . "\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
|
||||
for my $device (keys %{$hash{$vm}{'devices'}{'block'}}){
|
||||
|
||||
|
@ -764,7 +764,7 @@ sub init() {
|
|||
print "graph_title Network traffic per domain in bytes\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel Bytes in (-) / out (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vm (sort keys %hash) {
|
||||
|
@ -817,7 +817,7 @@ sub init() {
|
|||
print "graph_title Network traffic for " . $vm . "\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel Bits in (-) / out (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vif (keys %{$hash{$vm}{'devices'}{'network'}}){
|
||||
|
@ -870,7 +870,7 @@ sub init() {
|
|||
print "graph_title Network packets dropped per domain\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel Count in (-) / out (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vm (sort keys %hash) {
|
||||
|
@ -923,7 +923,7 @@ sub init() {
|
|||
print "graph_title Network packeds dropped by " . $vm . "\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel Count in (-) / out (+) per \${graph_period}\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
for my $vif (keys %{$hash{$vm}{'devices'}{'network'}}){
|
||||
|
@ -971,7 +971,7 @@ sub init() {
|
|||
print "multigraph libvirt_cpu\n";
|
||||
print "graph_title Cpu time used per domain in percent\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
my $draw="AREA";
|
||||
|
@ -1002,7 +1002,7 @@ sub init() {
|
|||
print "multigraph libvirt_cpu.vm_" . $hash{$vm}{'label'} . "\n";
|
||||
print "graph_title Cpu time used by " . $hash{$vm}{'name'} . " in percent\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
print "time.label " . $hash{$vm}{'name'} . " (" . $hash{$vm}{'type'} . ")\n";
|
||||
|
@ -1036,7 +1036,7 @@ sub init() {
|
|||
print "multigraph libvirt_mem\n";
|
||||
print "graph_title Memory allocated per domain\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
my $draw="AREA";
|
||||
|
@ -1067,7 +1067,7 @@ sub init() {
|
|||
print "multigraph libvirt_mem.vm_" . $hash{$vm}{'label'} . "\n";
|
||||
print "graph_title Memory allocated to " . $hash{$vm}{'name'} . "\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category Virtualization\n";
|
||||
print "graph_category virtualization\n";
|
||||
#print "graph_width 550\n";
|
||||
|
||||
print "mem.label " . $hash{$vm}{'name'} . " (" . $hash{$vm}{'type'} . ")\n";
|
||||
|
|
|
@ -37,7 +37,7 @@ if len(sys.argv) == 2:
|
|||
print "graph_title KVM Domain CPU Utilization"
|
||||
print "graph_vlabel CPU use in seconds"
|
||||
print "graph_args --base 1000"
|
||||
print "graph_category Virtualization"
|
||||
print "graph_category virtualization"
|
||||
|
||||
for id in ids:
|
||||
dom = conn.lookupByID(id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue