pmrep: fix archive end time reporting
[pcp.git] / qa / 1044.out
blobeaca55ed1ea11fb154e479f0b744d0b61ced4c34
1 QA output created by 1044
3 === basic test - check that we get one rule...
4   rule: memory.exhausted  [chronic main memory exhaustion]
5   help: The system is swapping modified pages out of main memory to the
6         swap partitions, and has been doing this on at least 3 of the
7         last 10 evaluations of this rule.
8         There appears to be insufficient main memory to meet the resident
9         demands of the current workload.
10         predicate = 
11           some_host (30 %_sample swap.pagesout $hosts$ @0..9 > 0)
12   vars: enabled = yes
14 === basic test - check that we get one rule...
15   rule: memory.exhausted  [chronic main memory exhaustion]
16   help: The system is swapping modified pages out of main memory to the
17         swap partitions, and has been doing this on at least 3 of the
18         last 10 evaluations of this rule.
19         There appears to be insufficient main memory to meet the resident
20         demands of the current workload.
21         predicate = 
22           some_host (30 %_sample swap.pagesout $hosts$ @0..9 > 0)
23   vars: enabled = yes
25 === check for non-existant rules location
26 pmieconf: error - cannot stat /no/such/file: No such file or directory
28 === check no fatal errors when creating config.pmie
30 // pmieconf-pmie 1 ./pconf
31 // end
33 === check generated config.pmie is good pmie syntax
34 status=0
36 === check interactive similar to command line....
37 214a215
38
40 === check rules path & duplicate rule names (-r)...
41 pmieconf: error - rule name "SOME.RULE" has already been used, duplicate name found in:
42         "./pconf/SOME/RULE", line LINENUMBER.
43 status=0
45 === check rules path & duplicate rule names (env)...
46 pmieconf: error - rule name "SOME.RULE" has already been used, duplicate name found in:
47         "./pconf/SOME/RULE", line LINENUMBER.
48 status=0
50 === check env variable gets used over default...
51 pmieconf: error - cannot stat /no/such/rules: No such file or directory
52 status=1