Projet

Général

Profil

Révision e3899a30

IDe3899a30d870670a2445742f9ca89a460cb4392f
Parent 0743e6e5
Enfant be24db7e

Ajouté par Gabriele Pohl il y a environ 11 ans

Reduce number of categories, use more generic terms

Voir les différences:

plugins/apache/apache_vhosts/apache_vhosts
117 117
graph_title average $check on all active vhosts
118 118
graph_args --base 1000
119 119
graph_vlabel average $check per response
120
graph_category apache_vhosts
120
graph_category apache
121 121
graph_period minute
122 122
graph_order $order
123 123
END
......
139 139
graph_title average $check on $data{$site}{'label'}
140 140
graph_args --base 1000
141 141
graph_vlabel average response in $check
142
graph_category apache_vhosts
142
graph_category apache
143 143
graph_period minute
144 144
END
145 145

  
......
168 168
graph_title requests by vhost
169 169
graph_args --base 1000
170 170
graph_vlabel requests / \${graph_period}
171
graph_category apache_vhosts
171
graph_category apache
172 172
graph_period minute
173 173
graph_order $order
174 174
END
......
193 193
graph_title status codes on $data{$site}{'label'}
194 194
graph_args --base 1000
195 195
graph_vlabel status codes / \${graph_period}
196
graph_category apache_vhosts
196
graph_category apache
197 197
graph_period minute
198 198
END
199 199
      my $draw='AREA';
plugins/audit/portaudit
29 29
	echo 'graph_title Number of Vulnerabilities'
30 30
	echo 'graph_args --base 1000 -l 0 '
31 31
	echo 'graph_vlabel number of vulnerabilities'
32
	echo 'graph_category audit'
32
	echo 'graph_category security'
33 33
	echo 'graph_info This graph shows the number of vulnerabilities in the system.'
34 34
	echo 'vulnerabilities.label vulnerabilities'
35 35
	echo 'vulnerabilities.info The current number of vulnerabilities.'
plugins/chassis/dell_fans
85 85
        print "graph_title Dell Fan Speeds"
86 86
        print "graph_args --base 1000 -l 0"
87 87
        print "graph_vlabel speed (RPM)"
88
        print "graph_category Chassis"
88
        print "graph_category sensors"
89 89
        print "graph_info This graph shows the speed in RPM of all fans."
90 90
        print "graph_period second"
91 91
        # Print remaining non-static values.
......
102 102
        print "graph_title Dell Temperature Readings"
103 103
        print "graph_args --base 1000 -l 0"
104 104
        print "graph_vlabel Temp in Degrees Celsius"
105
        print "graph_category Chassis"
105
        print "graph_category sensors"
106 106
        print "graph_info This graph shows the temperature for all sensors."
107 107
        print "graph_period second"
108 108
        # Print remaining non-static values.
plugins/djabberd/djabberd_
206 206
    print "graph_title " . $mode->{'title'} . "\n";
207 207
    print "graph_vlabel " . $mode->{'vlabel'} . "\n";
208 208
    print "graph_args -l 0\n";
209
    print "graph_category DJabberd\n";
209
    print "graph_category jabber\n";
210 210
    foreach my $field_name ( keys %{ $mode->{'fields'} } ) {
211 211
        my $label = $mode->{'fields'}->{$field_name}->{'label'}       || $field_name;
212 212
        my $desc  = $mode->{'fields'}->{$field_name}->{'description'} || $mode->{'fields'}->{$field_name}->{'key'};
plugins/dovecot/dovecot
62 62
  print "graph_title Dovecot connections\n";
63 63
  print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n";
64 64
  print "graph_vlabel connections\n";
65
  print "graph_category dovecot\n";
65
  print "graph_category mail\n";
66 66
  print "connections.label Connections open\n";
67 67
  print "connections.type GAUGE\n";
68 68
  print "connections.draw LINE1\n";
......
80 80
  print "graph_title Dovecot connected users\n";
81 81
  print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n";
82 82
  print "graph_vlabel connections\n";
83
  print "graph_category dovecot\n";
83
  print "graph_category mail\n";
84 84
  print "connected.label Connected users\n";
85 85
  print "connected.type GAUGE\n";
86 86
  print "connected.draw LINE1\n";
......
98 98
  print "graph_title Dovecot logins\n";
99 99
  print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n";
100 100
  print "graph_vlabel logins/5 minute\n";
101
  print "graph_category dovecot\n";
101
  print "graph_category mail\n";
102 102
  print "login.label Logins\n";
103 103
  print "login.type GAUGE\n";
104 104
  print "login.draw LINE1\n";
plugins/ejabberd/ejabberd_resources_/ejabberd_resources_
252 252
		cat <<CONFIG
253 253
graph_title ejabberd resources - ${RESOURCE_TYPE//_/ }
254 254
graph_args --base $RESOURCE_BASE --lower-limit 0
255
graph_category ejabberd
255
graph_category jabber
256 256
CONFIG
257 257
		;;
258 258
esac
plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog
144 144
	puts <<CONFIG
145 145
graph_title Ejabberd Log
146 146
graph_vlabel total
147
graph_category ejabberd
147
graph_category jabber
148 148
graph_args -l 0
149 149
CONFIG
150 150
end
plugins/ejabberd/ejabberd_stats_/ejabberd_stats_
33 33
graph_args --base 1000 --lower-limit 0
34 34
graph_vlabel users
35 35
graph_info The number of currently connected users, as of ejabberd report
36
graph_category ejabberd
36
graph_category jabber
37 37
graph_order active
38 38
connected.label Connected users
39 39
connected.draw AREA
......
52 52
graph_title ejabberd stats - s2s connections
53 53
graph_args --lower-limit 0
54 54
graph_vlabel active connections
55
graph_category ejabberd
55
graph_category jabber
56 56
graph_order incoming outgoing
57 57
incoming.label incoming s2s
58 58
incoming.info ejabberdctl $ejabberdctl_cmd_in
plugins/forums/punbb_users
55 55
        print "graph_title Users\n";
56 56
        print "graph_args --base 1000\n";
57 57
        print "graph_vlabel current users\n";
58
        print "graph_category Forums\n";
58
        print "graph_category Forum\n";
59 59
        print "graph_total Total\n";
60 60

  
61 61
        print "members.label Members\n";
plugins/logins/logins
10 10
cat << EOF
11 11
graph_title Users Online
12 12
graph_vlabel Number of users and logins
13
graph_category logins
13
graph_category system
14 14
graph_args --base 1000 -l 0
15 15
graph_scale no
16 16
EOF
plugins/network/ddclient
34 34

  
35 35
        echo 'graph_title IP Wechsel'
36 36
        echo 'graph_args --base 1000 -l 0'
37
        echo 'graph_vlabel t?glicher IP Wechsel'
38
	echo 'graph_category IP'
37
        echo 'graph_vlabel täglicher IP Wechsel'
38
	echo 'graph_category network'
39 39
        echo 'ip_change.label IP Wechsel'
40 40
	echo 'graph_info Jeder IP-Wechsel der von DDCLIENT festgestellt wird erzeugt einen Wert von 1'
41 41
        exit 0
......
68 68
  Last_update=${Last_update##*\(}
69 69
  Last_update=${Last_update%%\)}
70 70

  
71
# Ausgabe f?r Munin                         - output for munin
71
# Ausgabe für Munin                         - output for munin
72 72
  if [ "$Last_update" -gt "$Ref_Timestamp" ]; then
73 73
   echo  "ip_change.value 1"
74 74
  else
plugins/network/nsr_device_writing
33 33
graph_title NSR Device write speed (bytes/s)
34 34
graph_args -l 0 --base 1000
35 35
graph_vlabel bytes/s
36
graph_category Networker
36
graph_category Network
37 37
graph_info Shows how much writing each device is doing.
38 38
_EOM
39 39
  foreach my $d (sort keys %hash) {
plugins/reddit_karma/reddit_karma_
49 49
    echo 'graph_args --base 1000'
50 50
    echo 'graph_scale no'
51 51
    echo 'graph_vlabel Link Karma'
52
    echo 'graph_category misc'
52
    echo 'graph_category Reddit'
53 53
    echo 'comment_karma.label Comment Karma'
54 54
    echo 'comment_karma.draw LINE'
55 55
    echo 'link_karma.label Link Karma'
plugins/sensors/alertme_keyfobsathome
14 14

  
15 15
if [ "$1" = "config" ] ; then
16 16
	echo "graph_title AlertMe Keyfobs At Home"
17
	echo "graph_category environmental"
17
	echo "graph_category sensors"
18 18
	echo "graph_info this graph shows AlertMe Keyfob present count"
19 19
	echo "graph_vlabel number"
20 20
	echo "KeyfobsAtHome.label number of keyfobs present"
plugins/sensors/alertme_power
22 22
	fi
23 23

  
24 24
	echo "graph_title AlertMe Power"
25
	echo "graph_category environmental"
25
	echo "graph_category sensors"
26 26
	echo -n "graph_info this graph shows AlertMe power measurements for "
27 27
	head -1 $TMPFILE
28 28
	echo "graph_vlabel power (W)"
plugins/sensors/power/acpi_batt_
122 122
	print  ("graph_args --base 1000\n");
123 123
	printf ("graph_title Battery %s (%s) %s\n" , $batt_num, $batt_name, $graph_type);
124 124
	printf ("graph_info This graph shows battery %s (%s) %s\n" , $batt_num, $batt_name, $graph_type);
125
	print  ("graph_category power\n");
125
	print  ("graph_category sensors\n");
126 126
	if ($graph_type eq "capacity")
127 127
	{
128 128
		print  ("graph_vlabel Capacity, mAh\n");
plugins/sensors/power/acpi_sys_batt_
99 99
	print  ("graph_args --base 1000\n");
100 100
	printf ("graph_title Battery %s (%s) %s\n" , $batt_num, $batt_name, $graph_type);
101 101
	printf ("graph_info This graph shows battery %s (%s) %s\n" , $batt_num, $batt_name, $graph_type);
102
	print  ("graph_category power\n");
102
	print  ("graph_category sensors\n");
103 103
	if ($graph_type eq "capacity")
104 104
	{
105 105
		print  ("graph_vlabel Charge\n");
plugins/sensors/sequoia_websens
36 36
if [ "$1" = "config" ]; then
37 37
	echo "graph_title Sequoia Websensor"
38 38
	echo "graph_info This graph shows the temperature and humidity"
39
	echo "graph_category sensor"
39
	echo "graph_category sensors"
40 40
	echo "graph_args -l 0 -u 100 -r"
41 41
	echo "graph.scale no"
42 42
	echo "graph_vlabel % and C°"
plugins/snmp/snmp__poseidon-sensors
102 102
graph_title $sensorLocation - $sensorType [$sensorUnit]
103 103
graph_args --base 1000 -l 0 
104 104
graph_vlabel $sensorUnit
105
graph_category environment
105
graph_category sensors
106 106
graph_info This graph shows $sensorType history.
107 107
EOT
108 108
                        fi
plugins/snmp/snmp__sentry
143 143
graph_title Power Draw in Amps
144 144
graph_args --lower-limit 0
145 145
graph_vlabel Amps
146
graph_category power
146
graph_category pdu
147 147
graph_scale no
148 148
graph_info This shows the amperage drawn on your PDU. Per NEC, a PDU should not sustain 80% of its maximum circuit capacity for more than three hours.
149 149

  
......
167 167
graph_title Power Factor
168 168
graph_args --lower-limit 0
169 169
graph_vlabel Power Factor
170
graph_category power
170
graph_category pdu
171 171
graph_scale no
172 172
graph_info Power factor represents the efficiency of the components connected to the circuit. Power factor declines as components age, increasing the overall load on the circuit.
173 173

  
......
186 186
graph_title Crest Factor
187 187
graph_args --lower-limit 0
188 188
graph_vlabel Crest Factor
189
graph_category power
189
graph_category pdu
190 190
graph_scale no
191 191
graph_info Crest factor relates the peak value of a signal to its root mean square value. For three-phase AC, a crest factor of 1.732 is expected. Low crest factor may indicate UPS overclipping and crest factors over 5 degrade monitoring accuracy.
192 192

  
plugins/streaming/icecast2
36 36
graph_title Icecast2 Stream Listeners
37 37
graph_args --base 1000 -l 0
38 38
graph_vlabel Listeners for Streams
39
graph_category stream
39
graph_category streaming
40 40
cool_ogg.label cool_ogg
41 41
cool_ogg.draw AREA
42 42
cool_ogg.type GAUGE
plugins/streaming/icecast2_
49 49
    total_lyttere = xmldoc.getElementsByTagName("clients")[0].firstChild.nodeValue
50 50
    #Totalt antall kilder
51 51
    total_kilder = xmldoc.getElementsByTagName("sources")[0].firstChild.nodeValue
52
    #Status for enkelt str?m
52
    #Status for enkelt strøm
53 53
    sources = xmldoc.getElementsByTagName("source")
54 54
    sourcelist = {}
55 55
    for source in sources:
......
68 68
	if sourcename == "total":
69 69
	    print "graph_title Totalt antall lyttere"
70 70
            print "graph_vlabel lyttere"
71
	    print "graph_category Icecast"
71
	    print "graph_category streaming"
72 72
	    print "totallyttere.label Totalt antall lyttere"
73 73
	    print "totalkilder.label Totalt antall kilder"
74 74
	    chanlist = {}
......
101 101
		graphtitle = sourcename
102 102
	    print "graph_title %s" % graphtitle
103 103
	    print "graph_vlabel lyttere"
104
	    print "graph_category Icecast"
104
	    print "graph_category streaming"
105 105
	    for bitrate in mp3bitrates:
106 106
		print "%s_%s.label %s-%s" % (sourcename, bitrate, "/" + sourcename.replace("_", "-"), bitrate)
107 107
		sumstring += "%s_%s " % (sourcename, bitrate)
plugins/streaming/icecast2_all
33 33
    total_lyttere = xmldoc.getElementsByTagName("clients")[0].firstChild.nodeValue
34 34
    #Totalt antall kilder
35 35
    total_kilder = xmldoc.getElementsByTagName("sources")[0].firstChild.nodeValue
36
    #Status for enkelt str?m
36
    #Status for enkelt strøm
37 37
    sources = xmldoc.getElementsByTagName("source")
38 38
    sourcelist = {}
39 39
    for source in sources:
......
56 56
    elif sys.argv[1] == "config":
57 57
        print "graph_title Total number of listeners"
58 58
        print "graph_vlabel listeners"
59
	print "graph_category Icecast"
59
	print "graph_category streaming"
60 60
        print "totallyttere.label Total number of listeners"
61 61
        print "totalkilder.label Totalt number of sources"
62 62
	sourcesort = sourcelist.keys()
plugins/streaming/icecast2_simple
61 61
elsif ARGV[0] == 'config'
62 62
  puts "graph_title Total sources and clients for Icecast"
63 63
  puts "graph_vlabel listeners"
64
  puts "graph_category Icecast"
64
  puts "graph_category streaming"
65 65
  puts "sources.label Total number of sources"
66 66
  puts "clients.label Total number of clients"
67 67
else
plugins/streaming/icecast_
89 89
			print "graph_title Icecast client listening duration"
90 90
			print "graph_args --base 1000 -l 0"
91 91
			print "graph_scale no"
92
			print "graph_category Icecast"
92
			print "graph_category streaming"
93 93
			print "graph_vlabel minutes"
94 94
			print "avg.label average listening duration"
95 95
			print "mdn.label median listening duration"
......
97 97
			print "graph_title Icecast source uptime"
98 98
			print "graph_args --base 1000 -l 0"
99 99
			print "graph_scale no"
100
			print "graph_category Icecast"
100
			print "graph_category streaming"
101 101
			print "graph_vlabel hours"
102 102
			for s in sources:
103 103
				print "%s.label source %s" % (s["mount"].strip("/").replace(".","_").replace("-","_"), s["mount"])
104 104
		elif plugin_name == "icecast_traffic":
105 105
			print "graph_title Icecast outgoing traffic"
106 106
			print "graph_args --base 1024 -l 0"
107
			print "graph_category Icecast"
107
			print "graph_category streaming"
108 108
			print "graph_vlabel bytes / second"
109 109
			is_first = True
110 110
			for s in sources:
......
121 121
			print "graph_title Icecast listeners count"
122 122
			print "graph_args --base 1000 -l 0"
123 123
			print "graph_scale no"
124
			print "graph_category Icecast"
124
			print "graph_category streaming"
125 125
			print "graph_vlabel listeners"
126 126
			is_first = True
127 127
			for s in sources:
plugins/ubuntu/apt_ubuntu
25 25
#%# family=contrib
26 26

  
27 27
###########################################################
28
category = 'system' # 'upgrades'
28
category = 'security' # 'upgrades'
29 29
title = 'Upgradable packages' # 'Upgradeable packages'
30 30
vlabel = 'Total packages'
31 31
other = 'other'
......
73 73
    sys.exit(1)
74 74

  
75 75
def config():
76
    print 'graph_category %s' % (category)
76
    print 'graph_category security'
77 77
    print 'graph_title %s' % (title)
78 78
    #print 'graph_total %s' % (total)
79 79
    print 'graph_vlabel %s' % (vlabel)
plugins/ups/apc_status
18 18
        echo "graph_title APC Status - $title"
19 19
        echo 'graph_args --base 1000 -l 0 '
20 20
        echo "graph_vlabel $unit"
21
        echo 'graph_category Hardware'
21
        echo 'graph_category sensors'
22 22
        title=`/sbin/apcaccess | egrep "^MODEL" | awk '{print $3" "$4" "$5" "$6" "$7" "$8" "$9;}'`
23 23
        echo "graph_info $title"
24 24
        for key in $keys; do
plugins/virtualization/virtualbox_cpu_kernel
35 35
        echo 'graph_vlabel %'
36 36
        echo 'graph_scale no'
37 37
        echo 'graph_info This graph shows the percentage of processor time spent in kernel mode by the every single VM process.'
38
        echo 'graph_category virtualbox'
38
        echo 'graph_category Virtualization'
39 39
        echo 'graph_period second'
40 40
        vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do
41 41
                VM_NAME_PRINT=`echo -e "${VM_NAME}" | sed 's/[^A-Za-z0-9_]/_/g'`
plugins/virtualization/virtualbox_cpu_user
35 35
        echo 'graph_vlabel %'
36 36
        echo 'graph_scale no'
37 37
        echo 'graph_info This graph shows the percentage of processor time spent in user mode by the every single VM process.'
38
        echo 'graph_category virtualbox'
38
        echo 'graph_category Virtualization'
39 39
        echo 'graph_period second'
40 40
        vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do
41 41
                VM_NAME_PRINT=`echo -e "${VM_NAME}" | sed 's/[^A-Za-z0-9_]/_/g'`
plugins/virtualization/virtualbox_ram_usage
39 39
        echo "graph_args --base 1024 -r --lower-limit 0 --upper-limit $RAMTOT --units-exponent 9"
40 40
        echo 'graph_vlabel GB'
41 41
        echo 'graph_info This graph shows the ram usage of every single VM process.'
42
        echo 'graph_category virtualbox'
42
        echo 'graph_category Virtualization'
43 43
        echo 'graph_period second'
44 44
        I=0
45 45
        vboxmanage list vms | sed -r 's/^\"(.*)\" \{.*\}$/\1/' | while read VM_NAME; do
plugins/virtualization/vmware/fusion_
62 62

  
63 63
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
64 64
	my $lcount = 0;
65
	my $base_config = "graph_category VMware Fusion\n";
65
	my $base_config = "graph_category Virtualization\n";
66 66
	
67 67
	if( $type eq "pcpu" ) {
68 68
		print $base_config;
plugins/virtualization/vmware/vm_cpu_load
16 16
        echo 'graph_title VMware CPU-Load'
17 17
        echo 'graph_args --base 1000 -l 0'
18 18
        echo 'graph_vlabel Load of VMware VMs'
19
              echo 'graph_category VMware'
19
              echo 'graph_category Virtualization'
20 20
        
21 21
	while [ $i -lt ${#VMX[*]} ]
22 22
	do
plugins/virtualization/vserver/vserver_jiffies
43 43
fi
44 44

  
45 45
if [ "$1" = "config" ]; then
46
	echo 'graph_category vserver'
46
	echo 'graph_category Virtualization'
47 47
	echo 'graph_args --base 1000'
48 48
	echo 'graph_title Vserver cpu usage'
49 49
	echo 'graph_vlabel jiffies used per ${graph_period}'
plugins/virtualization/vserver/vserver_limit_hits
89 89
	echo "graph_title Vserver $resource limit hits"
90 90
	# echo 'graph_args --base 1024k -l 0'
91 91
	echo "graph_vlabel $resource limit hits"
92
	echo 'graph_category vserver'
92
	echo 'graph_category Virtualization'
93 93
	echo "graph_info Shows number of hits on $resource limits by each vserver.'"
94 94
	    
95 95
	for vserver_xid in $vservers ; do
plugins/virtualization/vserver/vserver_limits
66 66
	echo "graph_title Vserver $resource limits"
67 67
	# echo 'graph_args --base 1024k -l 0'
68 68
	echo "graph_vlabel $resource limits"
69
	echo 'graph_category vserver'
69
	echo 'graph_category Virtualization'
70 70
	echo "graph_info Shows current $resource limits for each vserver.'"
71 71
	    
72 72
	for vserver_xid in $vservers ; do
plugins/virtualization/xen
36 36
        echo 'graph_args --base 1000 -l 0 --upper-limit 100 --rigid'
37 37
        echo 'graph_scale no'
38 38
        echo 'graph_vlabel %'
39
        echo 'graph_category xen'
39
        echo 'graph_category Virtualization'
40 40
        echo 'graph_info This graph shows how many percent of the CPU time was used by each domain'
41 41

  
42 42
	xm list | grep -v "^Name .* Time(s)$" | \
plugins/virtualization/xen-cpu
53 53
			'graph_title' => 'Xen Domain CPU Usage',
54 54
			'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid',
55 55
			'graph_vlabel' => 'Percent (%)',
56
			'graph_category' => 'xen',
56
			'graph_category' => 'Virtualization',
57 57
			'graph_info' => 'Display the % of CPU Usage for each domain',
58 58
		);	
59 59

  
plugins/virtualization/xen-multi
169 169
		print "graph_args --base 1000 -l 0\n";
170 170
		print "graph_vlabel cpu seconds\n";
171 171
		print "graph_scale no\n";
172
		print "graph_category xen\n";
172
		print "graph_category Virtualization\n";
173 173
		print "graph_info This graph shows CPU time for each Xen domain.\n";
174 174
		for $domain (@domainlist) {
175 175
			print "$domains{$domain}{'munindomain'}_cpu_time.label ".trim_label('pos',$domain)."\n";
......
186 186
		print "graph_args --base 1000 -l 0 --upper-limit 100\n";
187 187
		print "graph_vlabel %\n";
188 188
		print "graph_scale no\n";
189
		print "graph_category xen\n";
189
		print "graph_category Virtualization\n";
190 190
		print "graph_info This graph shows CPU utilization for each Xen domain.\n";
191 191
		for $domain (@domainlist) {
192 192
			print "$domains{$domain}{'munindomain'}_cpu.label ".trim_label('pos',$domain)."\n";
......
199 199
		print "graph_title Xen domains memory usage\n";
200 200
		print "graph_args --base 1024 -l 0\n";
201 201
		print "graph_vlabel bytes\n";
202
		print "graph_category xen\n";
202
		print "graph_category Virtualization\n";
203 203
		print "graph_info This graph shows memory usage for each Xen domain.\n";
204 204
		for $domain (@domainlist) {
205 205
			print "$domains{$domain}{'munindomain'}_mem.label ".trim_label('pos',$domain)."\n";
......
213 213
		print "graph_title Xen domains network traffic\n";
214 214
		print "graph_args --base 1000\n";
215 215
		print "graph_vlabel bits per \${graph_period} in (-) / out (+)\n";
216
		print "graph_category xen\n";
216
		print "graph_category Virtualization\n";
217 217
		print "graph_info This graph shows network traffic for each Xen domain.\n";
218 218
		for $domain (@domainlist) {
219 219
			print "$domains{$domain}{'munindomain'}_netrx.label none\n";
......
233 233
		print "graph_title Xen domains disk IOs\n";
234 234
		print "graph_args --base 1000\n";
235 235
		print "graph_vlabel IOs per \${graph_period} read (-) / write (+)\n";
236
		print "graph_category xen\n";
236
		print "graph_category Virtualization\n";
237 237
		print "graph_info This graph shows disk IOs for each Xen domain.\n";
238 238
		for $domain (@domainlist) {
239 239
			print "$domains{$domain}{'munindomain'}_vbdrd.label none\n";
plugins/virtualization/xen_cpu_v2
72 72
			'graph_title' => 'Xen Domain CPU Usage v2',
73 73
			'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid',
74 74
			'graph_vlabel' => 'Percent (%)',
75
			'graph_category' => 'xen',
75
			'graph_category' => 'Virtualization',
76 76
			'graph_info' => 'Display the % of CPU Usage for each domain',
77 77
		);
78 78

  
......
186 186
print FH $curtime."\n";
187 187
print FH @xmlist;
188 188
close FH;
189
	
189
	
plugins/virtualization/xen_memory
29 29
        echo 'graph_args --base 1000 -l 0'
30 30
        echo 'graph_scale no'
31 31
        echo 'graph_vlabel MB'
32
        echo 'graph_category xen'
32
        echo 'graph_category Virtualization'
33 33
        echo 'graph_info This graph shows of many mS wall time where used by a domain'
34 34
                # xm info | while read name bla value; do echo "$name $value"; done
35 35
         $XM info | while read name bla value; do
plugins/virtualization/xen_traffic_
35 35
    echo "graph_title Xen Traffic for $NAME"
36 36
    echo 'graph_vlabel bits in (-) / out (+) per ${graph_period}'
37 37
    echo 'graph_args --base 1024 -l 0'
38
    echo 'graph_category xen'
38
    echo 'graph_category Virtualization'
39 39
    echo 'out.label sent'
40 40
    echo 'out.type DERIVE'
41 41
    echo 'out.min 0'
plugins/virtualization/xen_traffic_all
29 29
    echo 'graph_title Xen Traffic'
30 30
    echo 'graph_vlabel bits received (-) / sent (+) per ${graph_period}'
31 31
    echo 'graph_args --base 1024 -l 0'
32
    echo 'graph_category xen'
32
    echo 'graph_category Virtualization'
33 33
    DOMAINS=$(xm list | awk '{print $1}' | egrep -v "^(Name|Domain-0)")
34 34
    for dom in $DOMAINS; do
35 35
        name=$( echo $dom | tr .- __ )
plugins/virtualization/xen_vbd
42 42
                        'graph_title' => 'Xen Domain I/O usage',
43 43
                        'graph_args' => '--base 1024 -l 0',
44 44
                        'graph_vlabel' => 'read (-), write (+)',
45
                        'graph_category' => 'xen',
45
                        'graph_category' => 'Virtualization',
46 46
                        'graph_info' => 'Display the I/O operations for each domain',
47 47
                );
48 48
                

Formats disponibles : Unified diff