summaryrefslogtreecommitdiff
path: root/qa/497.out.2
blob: 5bb1a19571f12e8c329c3a1ce876d4385584d36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
QA output created by 497
Creating config file "TMP.conf" using default settings ...
.
--- start initial config file ---
#pmlogconf 2.0
#
# pmlogger(1) config file created and updated by pmlogconf
#
# DO NOT UPDATE THE INITIAL SECTION OF THIS FILE.
# Any changes may be lost the next time pmlogconf is used
# on this file.
#
#+ groupdir TMP
#
#+ 01:y:default:
## qa group one this one contains no errors
log advisory on default {
	sample.long.million
}
#----
# DO NOT UPDATE THE FILE ABOVE THIS LINE
# Otherwise any changes may be lost the next time pmlogconf is
# used on this file.
#
# It is safe to make additions from here on ...
#

[access]
disallow .* : all;
disallow :* : all;
allow local:* : enquire;
--- end initial config file ---

=== bad condition in probe clause ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten bozo ? include : exclude
TMP/02: Error: condition operator "bozo" not recognized

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== missing val in probe condition ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten == ? include : exclude
TMP/02: Error: expected "?" after condition, found "include : exclude"

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== bad keyword in probe state rule ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten exists ? include : foo
TMP/02: Error: failure state "foo" not recognized

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== missing : probe state rule ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten exists ? include exclude
TMP/02: Error: missing state rule components: "? include exclude"

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== bad probe state rule ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten exists ? include ! exclude
TMP/02: Error: expected ":" in state rule, found "!"

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== extra text in probe state rule ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
probe sample.ulong.ten exists ? include : exclude foo
TMP/02: Error: extra state rule components: "? include : exclude foo"

Group: qa group one this one contains no errors
Log this group? [y] 
No changes

=== bad force clause ===
need to add new group tag=02
pmlogconf: Warning: TMP/02: pmlogconf-setup failed
TMP/02: 
force foo
TMP/02: Error: force state "foo" not recognized

Group: qa group one this one contains no errors
Log this group? [y] 
No changes
--- start final config file ---
#pmlogconf 2.0
#
# pmlogger(1) config file created and updated by pmlogconf
#
# DO NOT UPDATE THE INITIAL SECTION OF THIS FILE.
# Any changes may be lost the next time pmlogconf is used
# on this file.
#
#+ groupdir TMP
#
#+ 01:y:default:
## qa group one this one contains no errors
log advisory on default {
	sample.long.million
}
#----
# DO NOT UPDATE THE FILE ABOVE THIS LINE
# Otherwise any changes may be lost the next time pmlogconf is
# used on this file.
#
# It is safe to make additions from here on ...
#

[access]
disallow .* : all;
disallow :* : all;
allow local:* : enquire;
--- end final config file ---