1 QA output created by 1045
3 === check unsupported pmie config version
4 pmieconf: error - unknown version number in /tmp/[SEQ-PID].pmie: "0" (expected 1)
7 === check that unneeded changes for unsupported versions are dumped
10 // pmieconf-pmie 1 ./pconf
11 // 1 filesys.buffer_cache threshold = 81.5%
12 // 1 filesys.buffer_cache hosts = "moomba wobbly"
13 // 1 filesys.buffer_cache sss_action = no
14 // 1 filesys.buffer_cache user_command = "pmpost $rule$^ %v@%h"
15 // 1 filesys.buffer_cache holdoff = 20
16 // 1 filesys.capacity delta = 60
17 // 1 network.interface_bytes holdoff = 30
18 // 1 network.tcp_dropped_conns holdoff = 30
19 // 1 network.tcp_retransmit holdoff = 30
22 // --- START GENERATED SECTION (do not change this section) ---
23 // generated by pmieconf on: [DATE]
30 kernel.all.load #'1 minute'
32 ) -> shell 15 "/usr/pcp/bin/pmpost high 1-minute load average" " %v@%h";
40 > hinv.ncpu * 75 / 100 ) &&
41 ( kernel.all.cpu.sys /
43 + kernel.all.cpu.sys )
45 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
52 ( 100 * filesys.used >
53 95 * filesys.capacity ) &&
56 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
61 some_host (30 %_sample swap.pagesout @0..9 > 0) -> shell 15 "/usr/pcp/bin/pmpost chronic main memory exhaustion" " %h";
63 // --- END GENERATED SECTION (changes below will be preserved) ---
65 === check that changes for unsupported versions are moved to end
68 // pmieconf-pmie 1 ./pconf
69 // 1 filesys.buffer_cache threshold = 81.5%
70 // 1 filesys.buffer_cache hosts = "moomba wobbly"
71 // 1 filesys.buffer_cache sss_action = yes
72 // 1 filesys.buffer_cache user_command = "pmpost $rule$^ %v@%h"
73 // 1 filesys.buffer_cache holdoff = 20
74 // 1 filesys.capacity delta = 60
75 // 1 network.interface_bytes holdoff = 40
76 // 1 network.tcp_dropped_conns holdoff = 30
77 // 1 network.tcp_retransmit holdoff = 30
80 // --- START GENERATED SECTION (do not change this section) ---
81 // generated by pmieconf on: [DATE]
88 kernel.all.load #'1 minute'
90 ) -> shell 15 "/usr/pcp/bin/pmpost high 1-minute load average" " %v@%h";
98 > hinv.ncpu * 75 / 100 ) &&
99 ( kernel.all.cpu.sys /
100 ( kernel.all.cpu.user
101 + kernel.all.cpu.sys )
103 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
105 // 1 filesys.capacity
110 ( 100 * filesys.used >
111 95 * filesys.capacity ) &&
112 rate filesys.used > 0
114 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
116 // 1 memory.exhausted
119 some_host (30 %_sample swap.pagesout @0..9 > 0) -> shell 15 "/usr/pcp/bin/pmpost chronic main memory exhaustion" " %h";
121 // --- END GENERATED SECTION (changes below will be preserved) ---
122 // // 2 filesys.buffer_cache (deprecated, rule version no longer supported)
125 // sample.double.one;
127 === check that changes for unsupported rules are moved to end
130 // pmieconf-pmie 1 ./pconf
131 // 1 filesys.buffer_cache threshold = 81.5%
132 // 1 filesys.buffer_cache hosts = "moomba wobbly"
133 // 1 filesys.buffer_cache sss_action = yes
134 // 1 filesys.buffer_cache user_command = "pmpost $rule$^ %v@%h"
135 // 1 filesys.buffer_cache holdoff = 120
136 // 1 filesys.capacity delta = 60
137 // 1 network.interface_bytes holdoff = 30
138 // 1 network.tcp_dropped_conns holdoff = 30
139 // 1 network.tcp_retransmit holdoff = 30
142 // --- START GENERATED SECTION (do not change this section) ---
143 // generated by pmieconf on: [DATE]
150 ( kernel.all.cpu.user
152 > hinv.ncpu * 75 / 100 ) &&
153 ( kernel.all.cpu.sys /
154 ( kernel.all.cpu.user
155 + kernel.all.cpu.sys )
157 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
159 // 1 filesys.capacity
164 ( 100 * filesys.used >
165 95 * filesys.capacity ) &&
166 rate filesys.used > 0
168 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
170 // 1 memory.exhausted
173 some_host (30 %_sample swap.pagesout @0..9 > 0) -> shell 15 "/usr/pcp/bin/pmpost chronic main memory exhaustion" " %h";
175 // --- END GENERATED SECTION (changes below will be preserved) ---
176 // // 1 cpu.load_average (deprecated, rule definition no longer exists)
179 // // 2 filesys.buffer_cache (deprecated, rule version no longer supported)
182 // sample.double.one;