| To: | Max Matveev <makc@xxxxxxx> |
|---|---|
| Subject: | Re: Possibly quirky libpcp_pmda behavior? |
| From: | Nathan Scott <nscott@xxxxxxxxxx> |
| Date: | Thu, 22 Mar 2007 13:41:27 +1100 |
| Cc: | dchatterton@xxxxxxxxxx, pcp@xxxxxxxxxxx |
| In-reply-to: | <17921.59938.22791.120850@xxxxxxxxxxxxxxxxxxxxxx> |
| Organization: | Aconex |
| References: | <1174523743.5051.439.camel@edge> <17921.59938.22791.120850@xxxxxxxxxxxxxxxxxxxxxx> |
| Reply-to: | nscott@xxxxxxxxxx |
| Sender: | pcp-bounce@xxxxxxxxxxx |
Hi (ghost of?) Max, On Thu, 2007-03-22 at 13:29 +1100, Max Matveev wrote: > >>>>> "nscott" == Nathan Scott <nscott@xxxxxxxxxx> writes: > > nscott> I have an agent which is returning PM_ERR_APPVERSION for some > nscott> of its metric values, for metrics not supported on a > nscott> particular platform version. > > What about returning PM_TYPE_NOSUPPORT instead of returning an error? Hmm... sounds good... /me looks No, not sure that will help - PM_TYPE_NOSUPPORT is -1, which will trip the less-than-zero guard on the fetchCallback call in libpcp_pmda, and that will end up in the same fprintf. No? cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Possibly quirky libpcp_pmda behavior?, David Chatterton |
|---|---|
| Next by Date: | Re: Possibly quirky libpcp_pmda behavior?, Max Matveev |
| Previous by Thread: | Re: Possibly quirky libpcp_pmda behavior?, Max Matveev |
| Next by Thread: | Re: Possibly quirky libpcp_pmda behavior?, Max Matveev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |