File tree Expand file tree Collapse file tree 4 files changed +30
-27
lines changed Expand file tree Collapse file tree 4 files changed +30
-27
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ dependencies :
2
+ - munin-node
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Install munin cps plugin
3
+ copy :
4
+ dest : /etc/munin/plugins/cps_1_0
5
+ src : cps_
6
+ mode : 0755
7
+ notify : restart munin-node
8
+ - name : Create munin cps plugin links
9
+ file :
10
+ src : /etc/munin/plugins/cps_1_0
11
+ dest : " /etc/munin/plugins/cps_{{ item }}_0"
12
+ state : link
13
+ with_items :
14
+ - 2
15
+ - 3
16
+ notify : restart munin-node
17
+ - name : Configure munin cps plugin
18
+ copy :
19
+ dest : /etc/munin/plugin-conf.d/cps
20
+ content : |
21
+ [cps_1_0]
22
+ env.graph_title Load balanced miscellaneous connections
23
+ [cps_2_0]
24
+ env.graph_title Load balanced Apache connections
25
+ [cps_3_0]
26
+ env.graph_title Load balanced SMTP connections
27
+ notify : restart munin-node
Original file line number Diff line number Diff line change 48
48
- lvs-iptables
49
49
- lvs-lighttpd
50
50
- lvs-ldirectord
51
- - munin-node
51
+ - lvs- munin-node
52
52
- nrpe
53
53
tasks :
54
- - name : Install munin cps plugin
55
- copy :
56
- dest : /etc/munin/plugins/cps_1_0
57
- src : files/cps_
58
- mode : 0755
59
- notify : restart munin-node
60
- - name : Create munin cps plugin links
61
- file :
62
- src : /etc/munin/plugins/cps_1_0
63
- dest : " /etc/munin/plugins/cps_{{ item }}_0"
64
- state : link
65
- with_items :
66
- - 2
67
- - 3
68
- notify : restart munin-node
69
- - name : Configure munin cps plugin
70
- copy :
71
- dest : /etc/munin/plugin-conf.d/cps
72
- content : |
73
- [cps_1_0]
74
- env.graph_title Load balanced miscellaneous connections
75
- [cps_2_0]
76
- env.graph_title Load balanced Apache connections
77
- [cps_3_0]
78
- env.graph_title Load balanced SMTP connections
79
- notify : restart munin-node
80
54
- name : Load IPVS modules
81
55
copy :
82
56
dest : /etc/modules-load.d/lvs.conf
You can’t perform that action at this time.
0 commit comments