diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/1044.out | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/1044.out')
-rw-r--r-- | qa/1044.out | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/qa/1044.out b/qa/1044.out new file mode 100644 index 0000000..eaca55e --- /dev/null +++ b/qa/1044.out @@ -0,0 +1,52 @@ +QA output created by 1044 + +=== basic test - check that we get one rule... + rule: memory.exhausted [chronic main memory exhaustion] + help: The system is swapping modified pages out of main memory to the + swap partitions, and has been doing this on at least 3 of the + last 10 evaluations of this rule. + There appears to be insufficient main memory to meet the resident + demands of the current workload. + predicate = + some_host (30 %_sample swap.pagesout $hosts$ @0..9 > 0) + vars: enabled = yes + +=== basic test - check that we get one rule... + rule: memory.exhausted [chronic main memory exhaustion] + help: The system is swapping modified pages out of main memory to the + swap partitions, and has been doing this on at least 3 of the + last 10 evaluations of this rule. + There appears to be insufficient main memory to meet the resident + demands of the current workload. + predicate = + some_host (30 %_sample swap.pagesout $hosts$ @0..9 > 0) + vars: enabled = yes + +=== check for non-existant rules location +pmieconf: error - cannot stat /no/such/file: No such file or directory + +=== check no fatal errors when creating config.pmie +45 +// pmieconf-pmie 1 ./pconf +// end + +=== check generated config.pmie is good pmie syntax +status=0 + +=== check interactive similar to command line.... +214a215 +> + +=== check rules path & duplicate rule names (-r)... +pmieconf: error - rule name "SOME.RULE" has already been used, duplicate name found in: + "./pconf/SOME/RULE", line LINENUMBER. +status=0 + +=== check rules path & duplicate rule names (env)... +pmieconf: error - rule name "SOME.RULE" has already been used, duplicate name found in: + "./pconf/SOME/RULE", line LINENUMBER. +status=0 + +=== check env variable gets used over default... +pmieconf: error - cannot stat /no/such/rules: No such file or directory +status=1 |