Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 1045.out
blob89584e5ca66e40cb1e6ef1549c84c9fe4527aa5a
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)
5 status=0
7 === check that unneeded changes for unsupported versions are dumped
8 status=0
9 status=0
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
20 // end
22 // --- START GENERATED SECTION (do not change this section) ---
23 //     generated by pmieconf on:  [DATE]
26 // 1 cpu.load_average
27 delta = 120;
28 cpu.load_average = 
29 some_host (
30     kernel.all.load  #'1 minute'
31         > hinv.ncpu  * 1.5
32 ) -> shell 15 "/usr/pcp/bin/pmpost high 1-minute load average" " %v@%h";
34 // 1 cpu.system_mode
35 delta = 120;
36 cpu.system_mode = 
37 some_host (
38     ( kernel.all.cpu.user 
39         + kernel.all.cpu.sys 
40             > hinv.ncpu  * 75 / 100 ) &&
41     ( kernel.all.cpu.sys  /
42         ( kernel.all.cpu.user 
43             + kernel.all.cpu.sys  )
44         > 80 / 100 )
45 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
47 // 1 filesys.capacity
48 delta = 60;
49 filesys.capacity = 
50 some_host (
51     some_inst (
52         ( 100 * filesys.used  >
53             95 * filesys.capacity  ) &&
54         rate filesys.used  > 0
55     )
56 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
58 // 1 memory.exhausted
59 delta = 120;
60 memory.exhausted = 
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
66 status=0
67 status=0
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
78 // end
80 // --- START GENERATED SECTION (do not change this section) ---
81 //     generated by pmieconf on:  [DATE]
84 // 1 cpu.load_average
85 delta = 120;
86 cpu.load_average = 
87 some_host (
88     kernel.all.load  #'1 minute'
89         > hinv.ncpu  * 1.5
90 ) -> shell 15 "/usr/pcp/bin/pmpost high 1-minute load average" " %v@%h";
92 // 1 cpu.system_mode
93 delta = 120;
94 cpu.system_mode = 
95 some_host (
96     ( kernel.all.cpu.user 
97         + kernel.all.cpu.sys 
98             > hinv.ncpu  * 75 / 100 ) &&
99     ( kernel.all.cpu.sys  /
100         ( kernel.all.cpu.user 
101             + kernel.all.cpu.sys  )
102         > 80 / 100 )
103 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
105 // 1 filesys.capacity
106 delta = 60;
107 filesys.capacity = 
108 some_host (
109     some_inst (
110         ( 100 * filesys.used  >
111             95 * filesys.capacity  ) &&
112         rate filesys.used  > 0
113     )
114 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
116 // 1 memory.exhausted
117 delta = 120;
118 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)
123 // sample.drift;
124 // 
125 // sample.double.one;
127 === check that changes for unsupported rules are moved to end
128 status=0
129 status=0
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
140 // end
142 // --- START GENERATED SECTION (do not change this section) ---
143 //     generated by pmieconf on:  [DATE]
146 // 1 cpu.system_mode
147 delta = 120;
148 cpu.system_mode = 
149 some_host (
150     ( kernel.all.cpu.user 
151         + kernel.all.cpu.sys 
152             > hinv.ncpu  * 75 / 100 ) &&
153     ( kernel.all.cpu.sys  /
154         ( kernel.all.cpu.user 
155             + kernel.all.cpu.sys  )
156         > 80 / 100 )
157 ) -> shell 15 "/usr/pcp/bin/pmpost busy executing in system mode" " %h";
159 // 1 filesys.capacity
160 delta = 60;
161 filesys.capacity = 
162 some_host (
163     some_inst (
164         ( 100 * filesys.used  >
165             95 * filesys.capacity  ) &&
166         rate filesys.used  > 0
167     )
168 ) -> shell 15 "/usr/pcp/bin/pmpost imminent file system full" " %i@%h";
170 // 1 memory.exhausted
171 delta = 120;
172 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)
177 // sample.float.ten;
178 // 
179 // // 2 filesys.buffer_cache (deprecated, rule version no longer supported)
180 // sample.drift;
181 // 
182 // sample.double.one;