| To: | Nathan Scott <nathans@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] dbpmda permissions |
| From: | Martins Innus <minnus@xxxxxxxxxxx> |
| Date: | Tue, 16 Dec 2014 14:39:45 -0500 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <890347474.18326939.1418682302877.JavaMail.zimbra@xxxxxxxxxx> |
| References: | <548F5468.9040209@xxxxxxxxxxx> <890347474.18326939.1418682302877.JavaMail.zimbra@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Nathan, On 12/15/14 5:25 PM, Nathan Scott wrote: Yup, thanks, that works. Now, is there a way to pass a string that contains quotes? The usual suspects didn't seem to work:Hi Martins, ----- Original Message -----[vagrant@pcptest pcpdec]$ sudo pmstore hotproc.control.config "uid=0" hotproc.control.config old value="" new value="uid=0" [vagrant@pcptest pcpdec]$ pmval -s 1 hotproc.control.config But I can't get this to work at all with dbpmda:Ah - is the problem that you need to set the uid connection attribute? e.g. the way Lukas has done it in qa/967? (the client credentials are passed over the wire via "attribute" PDUs)
dbpmda> store hotproc.control.config "uname == \"root\""
^ at or near here
Error: Unrecognized command
Type 'help' for a list of commands.
Trying to test the parser in a couple ways. If not, I can skip that for
now.
Thanks Martins |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] Dynamic metric rework, Nathan Scott |
|---|---|
| Next by Date: | Re: [pcp] Dynamic metric rework, Martins Innus |
| Previous by Thread: | Re: [pcp] dbpmda permissions, Nathan Scott |
| Next by Thread: | Re: [pcp] dbpmda permissions, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |