blob: 04e9813a85f41e9fc14411d1cdcd6c1ec9f75633 (
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
|
QA output created by 244
Waiting for pmcd to terminate ...
$PCP_PMCDCONF_PATH contains:
<BEGIN>
fake_irix 1 pipe binary dumb_pmda -d 1 fake_irix
fake_sampledso 30 pipe binary dumb_pmda -d 30 fake_sampledso
fake_cisco 5 pipe binary dumb_pmda -d 5 fake_cisco
fake_linux 60 pipe binary dumb_pmda -d 60 fake_linux
pmcd 2 dso pmcd_init ...pmda_pmcd.$DSO_SUFFIX
[access]
allow localhost : all;
disallow * : all;
<END>
Expect "IPC protocol failure" ...
hinv.ncpu: pmLookupDesc: IPC protocol failure
$PCP_PMCDCONF_PATH now contains:
<BEGIN>
fake_irix 1 pipe binary dumb_pmda -d 1 fake_irix
sample 29 pipe binary ...pmdasample -d 29
fake_cisco 5 pipe binary dumb_pmda -d 5 fake_cisco
fake_linux 60 pipe binary dumb_pmda -d 60 fake_linux
pmcd 2 dso pmcd_init ...pmda_pmcd.$DSO_SUFFIX
[access]
allow localhost : all;
disallow * : all;
<END>
Expect "Unknown or illegal metric identifier" ...
sampledso.control: pmLookupDesc: Unknown or illegal metric identifier
Expect "IPC protocol failure" ...
hinv.ncpu: pmLookupDesc: IPC protocol failure
Expect 9 values available ...
sample.bin 9 100 200 300 400 500 600 700 800 900
Deleting, adding and keeping agents test
Getting a desriptor from domain 30 (fake_sampledso agent had this domain)
sampledso.control PMID: 30.0.0
Data Type: 32-bit int InDom: PM_INDOM_NULL 0xffffffff
Semantics: instant Units: none
Log for pmcd on HOST started DATE
active agent dom pid in out ver protocol parameters
============ === ===== === === === ======== ==========
fake_irix 1 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 1 fake_irix
pmcd 2 A_PID dso i:5 lib=...pmda_pmcd.$DSO_SUFFIX entry=pmcd_init
fake_cisco 5 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 5 fake_cisco
fake_sampledso 30 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 30 fake_sampledso
fake_linux 60 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 60 fake_linux
Host access list:
00 01 Cur/MaxCons host-spec host-mask lvl host-name
== == =========== ======================================= ======================================= === ==============
y y A_PID 0 MYIPADDR MYHOSTMASK 0 localhost
n n A_PID 0 0.0.0.0 0.0.0.0 4 .*
pmcd: PID = PID
pmcd request port(s):
sts fd port family address
=== ==== ===== ====== =======
ok FD A_PID inet INADDR_ANY
[DATE] pmcd(PID) Warning: pduread: timeout (after 2.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=FD
Cleanup "fake_irix" agent (dom 1): protocol failure for fd=FD, exit(0)
[DATE] pmcd(PID) Info:
pmcd RESTARTED at DATE
Current PMCD clients ...
fd client connection from ipc ver operations denied
== ======================================== ======= =================
Cleanup "fake_sampledso" agent (dom 30): unconfigured, exit(0)
active agent dom pid in out ver protocol parameters
============ === ===== === === === ======== ==========
fake_irix 1 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 1 fake_irix
pmcd 2 A_PID dso i:5 lib=...pmda_pmcd.$DSO_SUFFIX entry=pmcd_init
fake_cisco 5 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 5 fake_cisco
sample 29 A_PID FD FD 2 bin pipe cmd=...pmdasample -d 29
fake_linux 60 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 60 fake_linux
Host access list:
00 01 Cur/MaxCons host-spec host-mask lvl host-name
== == =========== ======================================= ======================================= === ==============
y y A_PID 0 MYIPADDR MYHOSTMASK 0 localhost
n n A_PID 0 0.0.0.0 0.0.0.0 4 .*
[DATE] pmcd(PID) Info: PMNS file "DEFAULT" is unchanged
[DATE] pmcd(PID) Warning: pduread: timeout (after 2.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=FD
Cleanup "fake_irix" agent (dom 1): protocol failure for fd=FD, exit(0)
[DATE] pmcd(PID) Info:
pmcd RESTARTED at DATE
Current PMCD clients ...
fd client connection from ipc ver operations denied
== ======================================== ======= =================
Cleanup "fake_cisco" agent (dom 5): unconfigured, exit(0)
Cleanup "fake_linux" agent (dom 60): unconfigured, exit(0)
...
Restart and ping pmcd ...
Starting pmcd ...
Starting pmlogger ...
pmcd.control.debug 1
|