collectd-interface 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +19 -35
- data/bin/collectd-interface-daemon +32 -23
- data/bin/collectd-interface-plugins +1 -1
- data/public/images/cpus.png +0 -0
- data/public/images/disk-traffic-root.png +0 -0
- data/public/images/disk-traffic-tmp.png +0 -0
- data/public/images/load.png +0 -0
- data/public/images/memory.png +0 -0
- data/public/images/network-eth0.png +0 -0
- data/public/images/network-lo.png +0 -0
- data/public/images/processes.png +0 -0
- data/views/README.md +19 -35
- data/views/graph_header.erb +6 -0
- data/views/graphs/cpus.erb +73 -0
- data/views/graphs/disk-traffic-root.erb +24 -0
- data/views/graphs/disk-traffic-srv.erb.disabled +25 -0
- data/views/graphs/disk-traffic-tmp.erb.disabled +24 -0
- data/views/graphs/disk-traffic-var.erb.disabled +25 -0
- data/views/graphs/gridengine-jobs.erb.disabled +29 -0
- data/views/graphs/load.erb +32 -0
- data/views/graphs/memory.erb +43 -0
- data/views/graphs/network-eth0.erb +23 -0
- data/views/graphs/network-lo.erb +23 -0
- data/views/graphs/processes.erb +63 -0
- data/views/template/navigation.erb +1 -1
- data/views/template/options/data.erb +4 -0
- metadata +19 -19
- data/graphs/cpus.erb +0 -76
- data/graphs/disk-traffic-root.erb +0 -30
- data/graphs/disk-traffic-srv.erb.disabled +0 -30
- data/graphs/disk-traffic-tmp.erb.disabled +0 -30
- data/graphs/disk-traffic-var.erb.disabled +0 -30
- data/graphs/gridengine-jobs.erb.disabled +0 -32
- data/graphs/load.erb +0 -36
- data/graphs/memory.erb +0 -47
- data/graphs/network-eth0.erb +0 -26
- data/graphs/network-lo.erb +0 -26
- data/graphs/processes.erb +0 -66
- data/views/readme.erb +0 -3
- data/views/template/options/readme.erb +0 -0
@@ -1,30 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
name = '/'
|
3
|
-
device = `df -l #{name} | grep '/dev/'`.split[0].split('/')[-1]
|
4
|
-
%>
|
5
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
6
|
-
--end now --start=end-<%= last %> \
|
7
|
-
--title='Disk Traffic "<%= name %>"' --vertical-label="Bytes" \
|
8
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
9
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
10
|
-
--tabwidth=10 --base 1024 \
|
11
|
-
DEF:read_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:AVERAGE \
|
12
|
-
DEF:read_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MIN \
|
13
|
-
DEF:read_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MAX \
|
14
|
-
DEF:write_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:AVERAGE \
|
15
|
-
DEF:write_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MIN \
|
16
|
-
DEF:write_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MAX \
|
17
|
-
AREA:read_max<%= color[:green_light] %> \
|
18
|
-
AREA:read_min#ffffff \
|
19
|
-
AREA:write_max<%= color[:blue_light] %> \
|
20
|
-
AREA:write_min#ffffff \
|
21
|
-
LINE1:read_av<%= color[:green_dark] %>:"Read\t\t\t" \
|
22
|
-
GPRINT:read_min:MIN:"Min. %3.0lf%sB" \
|
23
|
-
GPRINT:read_av:AVERAGE:"Avg. %3.0lf%sB" \
|
24
|
-
GPRINT:read_max:MAX:"Max. %3.0lf%sB" \
|
25
|
-
GPRINT:read_av:LAST:"Last %3.0lf%sB" \
|
26
|
-
LINE1:write_av<%= color[:blue_dark] %>:"Write\t\t" \
|
27
|
-
GPRINT:write_min:MIN:"Min. %3.0lf%sB" \
|
28
|
-
GPRINT:write_av:AVERAGE:"Avg. %3.0lf%sB" \
|
29
|
-
GPRINT:write_max:MAX:"Max. %3.0lf%sB" \
|
30
|
-
GPRINT:write_av:LAST:"Last %3.0lf%sB" \
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
name = '/srv'
|
3
|
-
device = `df -l #{name} | grep '/dev/'`.split[0].split('/')[-1]
|
4
|
-
%>
|
5
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
6
|
-
--end now --start=end-<%= last %> \
|
7
|
-
--title='Disk Traffic "<%= name %>"' --vertical-label="Bytes" \
|
8
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
9
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
10
|
-
--tabwidth=10 --base 1024 \
|
11
|
-
DEF:read_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:AVERAGE \
|
12
|
-
DEF:read_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MIN \
|
13
|
-
DEF:read_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MAX \
|
14
|
-
DEF:write_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:AVERAGE \
|
15
|
-
DEF:write_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MIN \
|
16
|
-
DEF:write_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MAX \
|
17
|
-
AREA:read_max<%= color[:green_light] %> \
|
18
|
-
AREA:read_min#ffffff \
|
19
|
-
AREA:write_max<%= color[:blue_light] %> \
|
20
|
-
AREA:write_min#ffffff \
|
21
|
-
LINE1:read_av<%= color[:green_dark] %>:"Read\t\t\t" \
|
22
|
-
GPRINT:read_min:MIN:"Min. %3.0lf%sB" \
|
23
|
-
GPRINT:read_av:AVERAGE:"Avg. %3.0lf%sB" \
|
24
|
-
GPRINT:read_max:MAX:"Max. %3.0lf%sB" \
|
25
|
-
GPRINT:read_av:LAST:"Last %3.0lf%sB" \
|
26
|
-
LINE1:write_av<%= color[:blue_dark] %>:"Write\t\t" \
|
27
|
-
GPRINT:write_min:MIN:"Min. %3.0lf%sB" \
|
28
|
-
GPRINT:write_av:AVERAGE:"Avg. %3.0lf%sB" \
|
29
|
-
GPRINT:write_max:MAX:"Max. %3.0lf%sB" \
|
30
|
-
GPRINT:write_av:LAST:"Last %3.0lf%sB" \
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
name = '/tmp'
|
3
|
-
device = `df -l #{name} | grep '/dev/'`.split[0].split('/')[-1]
|
4
|
-
%>
|
5
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
6
|
-
--end now --start=end-<%= last %> \
|
7
|
-
--title='Disk Traffic "<%= name %>"' --vertical-label="Bytes" \
|
8
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
9
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
10
|
-
--tabwidth=10 --base 1024 \
|
11
|
-
DEF:read_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:AVERAGE \
|
12
|
-
DEF:read_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MIN \
|
13
|
-
DEF:read_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MAX \
|
14
|
-
DEF:write_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:AVERAGE \
|
15
|
-
DEF:write_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MIN \
|
16
|
-
DEF:write_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MAX \
|
17
|
-
AREA:read_max<%= color[:green_light] %> \
|
18
|
-
AREA:read_min#ffffff \
|
19
|
-
AREA:write_max<%= color[:blue_light] %> \
|
20
|
-
AREA:write_min#ffffff \
|
21
|
-
LINE1:read_av<%= color[:green_dark] %>:"Read\t\t\t" \
|
22
|
-
GPRINT:read_min:MIN:"Min. %3.0lf%sB" \
|
23
|
-
GPRINT:read_av:AVERAGE:"Avg. %3.0lf%sB" \
|
24
|
-
GPRINT:read_max:MAX:"Max. %3.0lf%sB" \
|
25
|
-
GPRINT:read_av:LAST:"Last %3.0lf%sB" \
|
26
|
-
LINE1:write_av<%= color[:blue_dark] %>:"Write\t\t" \
|
27
|
-
GPRINT:write_min:MIN:"Min. %3.0lf%sB" \
|
28
|
-
GPRINT:write_av:AVERAGE:"Avg. %3.0lf%sB" \
|
29
|
-
GPRINT:write_max:MAX:"Max. %3.0lf%sB" \
|
30
|
-
GPRINT:write_av:LAST:"Last %3.0lf%sB" \
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
name = '/var'
|
3
|
-
device = `df -l #{name} | grep '/dev/'`.split[0].split('/')[-1]
|
4
|
-
%>
|
5
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
6
|
-
--end now --start=end-<%= last %> \
|
7
|
-
--title='Disk Traffic "<%= name %>"' --vertical-label="Bytes" \
|
8
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
9
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
10
|
-
--tabwidth=10 --base 1024 \
|
11
|
-
DEF:read_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:AVERAGE \
|
12
|
-
DEF:read_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MIN \
|
13
|
-
DEF:read_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:read:MAX \
|
14
|
-
DEF:write_av=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:AVERAGE \
|
15
|
-
DEF:write_min=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MIN \
|
16
|
-
DEF:write_max=<%= rrd_path %>disk-<%= device %>/disk_octets.rrd:write:MAX \
|
17
|
-
AREA:read_max<%= color[:green_light] %> \
|
18
|
-
AREA:read_min#ffffff \
|
19
|
-
AREA:write_max<%= color[:blue_light] %> \
|
20
|
-
AREA:write_min#ffffff \
|
21
|
-
LINE1:read_av<%= color[:green_dark] %>:"Read\t\t\t" \
|
22
|
-
GPRINT:read_min:MIN:"Min. %3.0lf%sB" \
|
23
|
-
GPRINT:read_av:AVERAGE:"Avg. %3.0lf%sB" \
|
24
|
-
GPRINT:read_max:MAX:"Max. %3.0lf%sB" \
|
25
|
-
GPRINT:read_av:LAST:"Last %3.0lf%sB" \
|
26
|
-
LINE1:write_av<%= color[:blue_dark] %>:"Write\t\t" \
|
27
|
-
GPRINT:write_min:MIN:"Min. %3.0lf%sB" \
|
28
|
-
GPRINT:write_av:AVERAGE:"Avg. %3.0lf%sB" \
|
29
|
-
GPRINT:write_max:MAX:"Max. %3.0lf%sB" \
|
30
|
-
GPRINT:write_av:LAST:"Last %3.0lf%sB" \
|
@@ -1,32 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title='GridEngine Queue Master' --vertical-label="Jobs" \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 \
|
7
|
-
DEF:run_av=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:running:AVERAGE \
|
8
|
-
DEF:run_min=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:running:MIN \
|
9
|
-
DEF:run_max=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:running:MAX \
|
10
|
-
DEF:qu_av=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:queued:AVERAGE \
|
11
|
-
DEF:qu_min=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:queued:MIN \
|
12
|
-
DEF:qu_max=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:queued:MAX \
|
13
|
-
DEF:su_av=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:suspend:AVERAGE \
|
14
|
-
DEF:su_min=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:suspend:MIN \
|
15
|
-
DEF:su_max=<%= rrd_path %>/gridengine/gridengine_jobs.rrd:suspend:MAX \
|
16
|
-
AREA:su_av<%= color[:red_light] %> \
|
17
|
-
AREA:run_av<%= color[:green_light] %> \
|
18
|
-
LINE1:qu_av<%= color[:blue_dark] %>:"Queued " \
|
19
|
-
GPRINT:qu_min:MIN:"Min. %6.0lf" \
|
20
|
-
GPRINT:qu_av:AVERAGE:"Avg. %6.0lf" \
|
21
|
-
GPRINT:qu_max:MAX:"Max. %6.0lf" \
|
22
|
-
GPRINT:qu_av:LAST:"Last %6.0lf" \
|
23
|
-
LINE1:su_av<%= color[:red_dark] %>:"Suspend" \
|
24
|
-
GPRINT:su_min:MIN:"Min. %6.0lf" \
|
25
|
-
GPRINT:su_av:AVERAGE:"Avg. %6.0lf" \
|
26
|
-
GPRINT:su_max:MAX:"Max. %6.0lf" \
|
27
|
-
GPRINT:su_av:LAST:"Last %6.0lf" \
|
28
|
-
LINE1:run_av<%= color[:green_dark] %>:"Running" \
|
29
|
-
GPRINT:run_min:MIN:"Min. %6.0lf" \
|
30
|
-
GPRINT:run_av:AVERAGE:"Avg. %6.0lf" \
|
31
|
-
GPRINT:run_max:MAX:"Max. %6.0lf" \
|
32
|
-
GPRINT:run_av:LAST:"Last %6.0lf" \
|
data/graphs/load.erb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title="System Load" --vertical-label="Process Wait" \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 --units-exponent=k --lower-limit=0 \
|
7
|
-
DEF:short_av=<%= rrd_path %>/load/load.rrd:shortterm:AVERAGE \
|
8
|
-
DEF:short_max=<%= rrd_path %>/load/load.rrd:shortterm:MAX \
|
9
|
-
DEF:short_min=<%= rrd_path %>/load/load.rrd:shortterm:MIN \
|
10
|
-
DEF:mid_av=<%= rrd_path %>/load/load.rrd:midterm:AVERAGE \
|
11
|
-
DEF:mid_max=<%= rrd_path %>/load/load.rrd:midterm:MAX \
|
12
|
-
DEF:mid_min=<%= rrd_path %>/load/load.rrd:midterm:MIN \
|
13
|
-
DEF:long_av=<%= rrd_path %>/load/load.rrd:longterm:AVERAGE \
|
14
|
-
DEF:long_max=<%= rrd_path %>/load/load.rrd:longterm:MAX \
|
15
|
-
DEF:long_min=<%= rrd_path %>/load/load.rrd:longterm:MIN \
|
16
|
-
AREA:short_max<%= color[:red_light] %> \
|
17
|
-
AREA:short_min#ffffff \
|
18
|
-
LINE1:mid_min<%= color[:green_light] %> \
|
19
|
-
LINE1:mid_max<%= color[:green_light] %> \
|
20
|
-
LINE1:mid_min<%= color[:blue_light] %> \
|
21
|
-
LINE1:mid_max<%= color[:blue_light] %> \
|
22
|
-
LINE1:short_av<%= color[:red_dark] %>:"1 Minute " \
|
23
|
-
GPRINT:short_min:MIN:"Min. %3.2lf" \
|
24
|
-
GPRINT:short_av:AVERAGE:"Avg. %3.2lf" \
|
25
|
-
GPRINT:short_max:MAX:"Max. %3.2lf" \
|
26
|
-
GPRINT:short_av:LAST:"Last %3.2lf" \
|
27
|
-
LINE1:mid_av<%= color[:green_dark] %>:"5 Minute " \
|
28
|
-
GPRINT:mid_min:MIN:"Min. %3.2lf" \
|
29
|
-
GPRINT:mid_av:AVERAGE:"Avg. %3.2lf" \
|
30
|
-
GPRINT:mid_max:MAX:"Max. %3.2lf" \
|
31
|
-
GPRINT:mid_av:LAST:"Last %3.2lf" \
|
32
|
-
LINE1:long_av<%= color[:blue_dark] %>:"15 Minute" \
|
33
|
-
GPRINT:long_min:MIN:"Min. %3.2lf" \
|
34
|
-
GPRINT:long_av:AVERAGE:"Avg. %3.2lf" \
|
35
|
-
GPRINT:long_max:MAX:"Max. %3.2lf" \
|
36
|
-
GPRINT:long_av:LAST:"Last %3.2lf" \
|
data/graphs/memory.erb
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase%> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title='Memory Utilization' --vertical-label="Bytes" \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 --base 1024 --lower-limit=0 \
|
7
|
-
DEF:used_av=<%= rrd_path %>/memory/memory-used.rrd:value:AVERAGE \
|
8
|
-
DEF:used_max=<%= rrd_path %>/memory/memory-used.rrd:value:MAX \
|
9
|
-
DEF:used_min=<%= rrd_path %>/memory/memory-used.rrd:value:MIN \
|
10
|
-
DEF:free_av=<%= rrd_path %>/memory/memory-free.rrd:value:AVERAGE \
|
11
|
-
DEF:free_max=<%= rrd_path %>/memory/memory-free.rrd:value:MAX \
|
12
|
-
DEF:free_min=<%= rrd_path %>/memory/memory-free.rrd:value:MIN \
|
13
|
-
DEF:cach_av=<%= rrd_path %>/memory/memory-cached.rrd:value:AVERAGE \
|
14
|
-
DEF:cach_max=<%= rrd_path %>/memory/memory-cached.rrd:value:MAX \
|
15
|
-
DEF:cach_min=<%= rrd_path %>/memory/memory-cached.rrd:value:MIN \
|
16
|
-
DEF:buff_av=<%= rrd_path %>/memory/memory-buffered.rrd:value:AVERAGE \
|
17
|
-
DEF:buff_max=<%= rrd_path %>/memory/memory-buffered.rrd:value:MAX \
|
18
|
-
DEF:buff_min=<%= rrd_path %>/memory/memory-buffered.rrd:value:MIN \
|
19
|
-
CDEF:used=used_av,used_av,UNKN,IF \
|
20
|
-
CDEF:free=free_av,used_av,free_av,+,UNKN,IF \
|
21
|
-
CDEF:cach=cach_av,used_av,free_av,cach_av,+,+,UNKN,IF \
|
22
|
-
CDEF:buff=buff_av,used_av,free_av,cach_av,buff_av,+,+,+,UNKN,IF \
|
23
|
-
AREA:used_av<%= color[:red_light] %> \
|
24
|
-
AREA:free_av<%= color[:green_light] %>::STACK \
|
25
|
-
AREA:cach_av<%= color[:yellow_light] %>::STACK \
|
26
|
-
AREA:buff_av<%= color[:blue_light] %>::STACK \
|
27
|
-
LINE1:used<%= color[:red_dark] %>:"Used " \
|
28
|
-
GPRINT:used_min:MIN:"Min. %3.0lf %sB " \
|
29
|
-
GPRINT:used_av:AVERAGE:"Avg. %3.0lf %sB" \
|
30
|
-
GPRINT:used_max:MAX:"Max. %3.0lf %sB" \
|
31
|
-
GPRINT:used_av:LAST:"Last %3.0lf %sB" \
|
32
|
-
LINE1:free<%= color[:green_dark] %>:"Free " \
|
33
|
-
GPRINT:free_min:MIN:"Min. %3.0lf %sB " \
|
34
|
-
GPRINT:free_av:AVERAGE:"Avg. %3.0lf %sB" \
|
35
|
-
GPRINT:free_max:MAX:"Max. %3.0lf %sB" \
|
36
|
-
GPRINT:free_av:LAST:"Last %3.0lf %sB" \
|
37
|
-
LINE1:cach<%= color[:yellow_dark] %>:"Cache " \
|
38
|
-
GPRINT:cach_min:MIN:"Min. %3.0lf %sB " \
|
39
|
-
GPRINT:cach_av:AVERAGE:"Avg. %3.0lf %sB" \
|
40
|
-
GPRINT:cach_max:MAX:"Max. %3.0lf %sB" \
|
41
|
-
GPRINT:cach_av:LAST:"Last %3.0lf %sB" \
|
42
|
-
LINE1:buff<%= color[:blue_dark] %>:"Buffer" \
|
43
|
-
GPRINT:buff_min:MIN:"Min. %3.0lf %sB " \
|
44
|
-
GPRINT:buff_av:AVERAGE:"Avg. %3.0lf %sB" \
|
45
|
-
GPRINT:buff_max:MAX:"Max. %3.0lf %sB" \
|
46
|
-
GPRINT:buff_av:LAST:"Last %3.0lf %sB"
|
47
|
-
|
data/graphs/network-eth0.erb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title='Network Traffic Interface "eth0"' --vertical-label="Bits" \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 \
|
7
|
-
DEF:rx_av=<%= rrd_path %>/interface/if_octets-eth0.rrd:rx:AVERAGE \
|
8
|
-
DEF:rx_min=<%= rrd_path %>/interface/if_octets-eth0.rrd:rx:MIN \
|
9
|
-
DEF:rx_max=<%= rrd_path %>/interface/if_octets-eth0.rrd:rx:MAX \
|
10
|
-
DEF:tx_av=<%= rrd_path %>/interface/if_octets-eth0.rrd:tx:AVERAGE \
|
11
|
-
DEF:tx_min=<%= rrd_path %>/interface/if_octets-eth0.rrd:tx:MIN \
|
12
|
-
DEF:tx_max=<%= rrd_path %>/interface/if_octets-eth0.rrd:tx:MAX \
|
13
|
-
AREA:rx_max<%= color[:green_light] %> \
|
14
|
-
AREA:rx_min#ffffff \
|
15
|
-
AREA:tx_max<%= color[:blue_light] %> \
|
16
|
-
AREA:tx_min#ffffff \
|
17
|
-
LINE1:rx_av<%= color[:green_dark] %>:"Recive " \
|
18
|
-
GPRINT:rx_min:MIN:"Min. %3.0lf%sb" \
|
19
|
-
GPRINT:rx_av:AVERAGE:"Avg. %3.0lf%sb" \
|
20
|
-
GPRINT:rx_max:MAX:"Max. %3.0lf%sb" \
|
21
|
-
GPRINT:rx_av:LAST:"Last %3.0lf%sb" \
|
22
|
-
LINE1:tx_av<%= color[:blue_dark] %>:"Transmit" \
|
23
|
-
GPRINT:tx_min:MIN:"Min. %3.0lf%sb" \
|
24
|
-
GPRINT:tx_av:AVERAGE:"Avg. %3.0lf%sb" \
|
25
|
-
GPRINT:tx_max:MAX:"Max. %3.0lf%sb" \
|
26
|
-
GPRINT:tx_av:LAST:"Last %3.0lf%sb" \
|
data/graphs/network-lo.erb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase %> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title='Network Traffic Interface "lo"' --vertical-label="Bits" \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--alt-autoscale-max --border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 \
|
7
|
-
DEF:rx_av=<%= rrd_path %>/interface/if_octets-lo.rrd:rx:AVERAGE \
|
8
|
-
DEF:rx_min=<%= rrd_path %>/interface/if_octets-lo.rrd:rx:MIN \
|
9
|
-
DEF:rx_max=<%= rrd_path %>/interface/if_octets-lo.rrd:rx:MAX \
|
10
|
-
DEF:tx_av=<%= rrd_path %>/interface/if_octets-lo.rrd:tx:AVERAGE \
|
11
|
-
DEF:tx_min=<%= rrd_path %>/interface/if_octets-lo.rrd:tx:MIN \
|
12
|
-
DEF:tx_max=<%= rrd_path %>/interface/if_octets-lo.rrd:tx:MAX \
|
13
|
-
AREA:rx_max<%= color[:green_light] %> \
|
14
|
-
AREA:rx_min#ffffff \
|
15
|
-
AREA:tx_max<%= color[:blue_light] %> \
|
16
|
-
AREA:tx_min#ffffff \
|
17
|
-
LINE1:rx_av<%= color[:green_dark] %>:"Recive " \
|
18
|
-
GPRINT:rx_min:MIN:"Min. %3.0lf%sb" \
|
19
|
-
GPRINT:rx_av:AVERAGE:"Avg. %3.0lf%sb" \
|
20
|
-
GPRINT:rx_max:MAX:"Max. %3.0lf%sb" \
|
21
|
-
GPRINT:rx_av:LAST:"Last %3.0lf%sb" \
|
22
|
-
LINE1:tx_av<%= color[:blue_dark] %>:"Transmit" \
|
23
|
-
GPRINT:tx_min:MIN:"Min. %3.0lf%sb" \
|
24
|
-
GPRINT:tx_av:AVERAGE:"Avg. %3.0lf%sb" \
|
25
|
-
GPRINT:tx_max:MAX:"Max. %3.0lf%sb" \
|
26
|
-
GPRINT:tx_av:LAST:"Last %3.0lf%sb" \
|
data/graphs/processes.erb
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
rrdtool graph <%= target %> -a <%= type.upcase%> \
|
2
|
-
--end now --start=end-<%= last %> \
|
3
|
-
--title='Process State' --vertical-label='Count' \
|
4
|
-
--grid-dash 1:1 --width=400 --height=100 \
|
5
|
-
--border=0 --color=BACK#FFFFFF \
|
6
|
-
--tabwidth=10 --lower-limit=0 \
|
7
|
-
DEF:sleep_av=<%= rrd_path %>/processes/ps_state-sleeping.rrd:value:AVERAGE \
|
8
|
-
DEF:sleep_min=<%= rrd_path %>/processes/ps_state-sleeping.rrd:value:MIN \
|
9
|
-
DEF:sleep_max=<%= rrd_path %>/processes/ps_state-sleeping.rrd:value:MAX \
|
10
|
-
DEF:run_av=<%= rrd_path %>/processes/ps_state-running.rrd:value:AVERAGE \
|
11
|
-
DEF:run_min=<%= rrd_path %>/processes/ps_state-running.rrd:value:MIN \
|
12
|
-
DEF:run_max=<%= rrd_path %>/processes/ps_state-running.rrd:value:MAX \
|
13
|
-
DEF:block_av=<%= rrd_path %>/processes/ps_state-blocked.rrd:value:AVERAGE \
|
14
|
-
DEF:block_min=<%= rrd_path %>/processes/ps_state-blocked.rrd:value:MIN \
|
15
|
-
DEF:block_max=<%= rrd_path %>/processes/ps_state-blocked.rrd:value:MAX \
|
16
|
-
DEF:stop_av=<%= rrd_path %>/processes/ps_state-stopped.rrd:value:AVERAGE \
|
17
|
-
DEF:stop_min=<%= rrd_path %>/processes/ps_state-stopped.rrd:value:MIN \
|
18
|
-
DEF:stop_max=<%= rrd_path %>/processes/ps_state-stopped.rrd:value:MAX \
|
19
|
-
DEF:page_av=<%= rrd_path %>/processes/ps_state-paging.rrd:value:AVERAGE \
|
20
|
-
DEF:page_min=<%= rrd_path %>/processes/ps_state-paging.rrd:value:MIN \
|
21
|
-
DEF:page_max=<%= rrd_path %>/processes/ps_state-paging.rrd:value:MAX \
|
22
|
-
DEF:zombi_av=<%= rrd_path %>/processes/ps_state-zombies.rrd:value:AVERAGE \
|
23
|
-
DEF:zombi_min=<%= rrd_path %>/processes/ps_state-zombies.rrd:value:MIN \
|
24
|
-
DEF:zombi_max=<%= rrd_path %>/processes/ps_state-zombies.rrd:value:MAX \
|
25
|
-
CDEF:sleep=sleep_av,sleep_av,UNKN,IF \
|
26
|
-
CDEF:run=run_av,sleep_av,run_av,+,UNKN,IF \
|
27
|
-
CDEF:block=block_av,sleep_av,run_av,block_av,+,+,UNKN,IF \
|
28
|
-
CDEF:stop=stop_av,sleep_av,run_av,block_av,stop_av,+,+,+,UNKN,IF \
|
29
|
-
CDEF:page=page_av,sleep_av,run_av,block_av,stop_av,page_av,+,+,+,+,UNKN,IF \
|
30
|
-
CDEF:zombi=zombi_av,sleep_av,run_av,block_av,stop_av,page_av,zombi_av,+,+,+,+,+,UNKN,IF \
|
31
|
-
AREA:sleep_av<%= color[:blue_light] %> \
|
32
|
-
AREA:run_av<%= color[:green_light] %>::STACK \
|
33
|
-
AREA:block_av<%= color[:yellow_light] %>::STACK \
|
34
|
-
AREA:stop_av<%= color[:red_light] %>::STACK \
|
35
|
-
AREA:page_av<%= color[:orange_light] %>::STACK \
|
36
|
-
AREA:zombi_av<%= color[:purple_light] %>::STACK \
|
37
|
-
LINE1:sleep<%= color[:blue_dark] %>:"Sleeping" \
|
38
|
-
GPRINT:sleep_min:MIN:"Min. %5.0lf" \
|
39
|
-
GPRINT:sleep_av:AVERAGE:"Avg. %5.0lf" \
|
40
|
-
GPRINT:sleep_max:MAX:"Max. %5.0lf" \
|
41
|
-
GPRINT:sleep_av:LAST:"Last %5.0lf" \
|
42
|
-
LINE1:run<%= color[:green_dark] %>:"Running " \
|
43
|
-
GPRINT:run_min:MIN:"Min. %5.0lf" \
|
44
|
-
GPRINT:run_av:AVERAGE:"Avg. %5.0lf" \
|
45
|
-
GPRINT:run_max:MAX:"Max. %5.0lf" \
|
46
|
-
GPRINT:run_av:LAST:"Last %5.0lf" \
|
47
|
-
LINE1:block<%= color[:yellow_dark] %>:"Blocked " \
|
48
|
-
GPRINT:block_min:MIN:"Min. %5.0lf" \
|
49
|
-
GPRINT:block_av:AVERAGE:"Avg. %5.0lf" \
|
50
|
-
GPRINT:block_max:MAX:"Max. %5.0lf" \
|
51
|
-
GPRINT:block_av:LAST:"Last %5.0lf" \
|
52
|
-
LINE1:stop<%= color[:red_dark] %>:"Stopped " \
|
53
|
-
GPRINT:stop_min:MIN:"Min. %5.0lf" \
|
54
|
-
GPRINT:stop_av:AVERAGE:"Avg. %5.0lf" \
|
55
|
-
GPRINT:stop_max:MAX:"Max. %5.0lf" \
|
56
|
-
GPRINT:stop_av:LAST:"Last %5.0lf" \
|
57
|
-
LINE1:page<%= color[:orange_dark] %>:"Paging " \
|
58
|
-
GPRINT:page_min:MIN:"Min. %5.0lf" \
|
59
|
-
GPRINT:page_av:AVERAGE:"Avg. %5.0lf" \
|
60
|
-
GPRINT:page_max:MAX:"Max. %5.0lf" \
|
61
|
-
GPRINT:page_av:LAST:"Last %5.0lf" \
|
62
|
-
LINE1:zombi<%= color[:purple_dark] %>:"Zombies " \
|
63
|
-
GPRINT:zombi_min:MIN:"Min. %5.0lf" \
|
64
|
-
GPRINT:zombi_av:AVERAGE:"Avg. %5.0lf" \
|
65
|
-
GPRINT:zombi_max:MAX:"Max. %5.0lf" \
|
66
|
-
GPRINT:zombi_av:LAST:"Last %5.0lf" \
|
data/views/readme.erb
DELETED
File without changes
|