| To: | pcp <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | specify instance id's with pmdaCacheStore |
| From: | Martins Innus <minnus@xxxxxxxxxxx> |
| Date: | Tue, 14 Apr 2015 16:18:53 -0400 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Hi,I was looking through the source and don't think there is a way to do this, but thought I would ask. In the case of a pmda where the instance names are strictly numeric, is it possible to have the pmdaCache* routines use the instance name (which would be numeric) when generating the instance id? More specifically, I am using the perl pmda api and the implementation that converts a perl hash to the pmdaCache* routines. It seems like the 2 choices are an auto-incrementing internally assigned id or a deterministic value generated by hashing in pmdaCache*Key functions. Hope this makes sense. Thanks Martins |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] JSON PMDA, David Smith |
|---|---|
| Next by Date: | Re: [pcp] pmLookupName sts differences, Ken McDonell |
| Previous by Thread: | ACAO Header and Background Install diffs, Martin Spier |
| Next by Thread: | Re: [pcp] specify instance id's with pmdaCacheStore, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |