pcp
[Top] [All Lists]

Re: Developers meeting summary, 29/02/2012

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: Developers meeting summary, 29/02/2012
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Wed, 29 Feb 2012 12:59:53 -0500
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1072107515.240278.1330510757294.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx> (Nathan Scott's message of "Wed, 29 Feb 2012 21:19:17 +1100 (EST)")
References: <1403290077.240154.1330510094961.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx> <1072107515.240278.1330510757294.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
nathans wrote:

> [...]
> 3. Lastly we discussed where the SNMP PMDA was up to, with a
> specific focus on the concept of transparent proxying to make
> both client tool experience and PMDA implementation a little
> more sane.
> [...]
>    - Strawman put forward: pass hostname used in pmNewContext
>      along with credentials PDU to pmcd, which can then make it
>      available to PMDAs as well (this would piggyback onto any
>      security extensions, likely to pass username, keys, etc on
>      to PMCD/PMDAs - pcp4 stuff) so that the PMDA can use host
>      name that individual clients are interested in to tailor
>      the namespace and values made visible, per connection.

Sounds like the HTTP Host: header; piggybacking with User/Password
etc. sounds natural.

>      DNS CNAMEs or other multiple name/address alias convention
>      can then be used to allow PMDAs transparently (to clients)
>      to tailor exported information.  

Plus SRV entries to map to separate pmcd port numbers or whatnot if
multiple distinct servers are needed.


> [...]
>    - Mark very keen on the idea that we go further and make
>      libpcp able to switch protocols, directly, in the client
>      tools.  [...]
>      Some further discussion around a URL-like syntax for host,
>      protocol and port specification (pcp://hostname:port, and
>      snmp://hostname:port).  [...]

(It may be possible to rely on zeroconf and/or SRV to map a plain
hostname to port #161 (snmp), and let the pmapi client library adapt
based upon that.)


- FChE

<Prev in Thread] Current Thread [Next in Thread>