File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed
ansible/roles/lvs-munin-node/tasks Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change 13
13
with_items :
14
14
- 2
15
15
- 3
16
+ - 21
17
+ - 22
18
+ - 23
19
+ - 31
20
+ - 32
21
+ - 33
22
+ - 92
16
23
notify : restart munin-node
17
24
- name : Configure munin cps plugin
25
+ vars :
26
+ fwmarks :
27
+ 1 : miscellaneous
28
+ 2 : Apache
29
+ 3 : SMTP
30
+ 21 : Fedora 20 primary
31
+ 22 : Fedora 20 Apache
32
+ 23 : Fedora 20 SMTP
33
+ 31 : Fedora 30 primary
34
+ 32 : Fedora 30 Apache
35
+ 33 : Fedora 30 SMTP
36
+ 92 : scripts-test Apache
18
37
copy :
19
38
dest : /etc/munin/plugin-conf.d/cps
20
39
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
40
+ {% for fwmark, desc in fwmarks | dictsort %}
41
+ [cps_{{ fwmark }}_0]
42
+ env.graph_title Load balanced {{desc}} connections
43
+ {% endfor %}
27
44
notify : restart munin-node
You can’t perform that action at this time.
0 commit comments