pcp
[Top] [All Lists]

Re: [pcp] PCP / Zabbix Agent Loadable Module

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] PCP / Zabbix Agent Loadable Module
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Mon, 23 Nov 2015 14:15:20 +0200
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1314076311.20827245.1448260070262.JavaMail.zimbra@xxxxxxxxxx>
Organization: Red Hat
References: <563099A2.8040901@xxxxxxxxxx> <852045589.5144136.1446765609785.JavaMail.zimbra@xxxxxxxxxx> <5640F0C6.1080801@xxxxxxxxxx> <851861832.14793166.1447809893203.JavaMail.zimbra@xxxxxxxxxx> <564DBE41.2020600@xxxxxxxxxx> <889897529.16807231.1447988860242.JavaMail.zimbra@xxxxxxxxxx> <564F087E.5040608@xxxxxxxxxx> <1314076311.20827245.1448260070262.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
Hi,

On 2015-11-23 08:27, Nathan Scott wrote:
> ----- Original Message -----
> 
>> I'm afraid the agent options are pretty much limited to configuring the
>> allowed IPs to connect to the agent and running it as non-root (the
>> default is the "zabbix" user). Otherwise passing stuff like /etc/passwd
>> contents is probably considered a "feature".
> 
> OK.  For now, I've made the one-line change from local: to localhost
> context string, which means we expose less sensitive information.

ok, sounds like a good move, might even be all we need.

> If we go with the configuration file option (from the zbxpcp TODO list
> in the source), we could pass authentication information from there &
> allow an admin to enable access to that info if thats useful, not clear
> if proc.* level of detail would be of value here anyway.
> 
>>> [...] - I'll start hacking on some of these things next week too.
> 
> I've pushed the build/package/test side of things into my git repo - see
> previous mail.

Nice, thanks, looks very complete!

I'll check the timeout thingy later this week if you don't get there first.

> One small issue I came across - the module.h header says
> GPL (from Zabbix), whereas your module code says LGPL.  This might need
> to be discussed with the Zabbix crew, AIUI the intention is to allow for
> Zabbix modules that are LGPL?

Their example code is GPL [1] but I think once we've sorted out all the
bits and pieces here (zbxpcp/pmrep) we could then inform them about the
recent developments and ask them about this as well.

1)
https://www.zabbix.com/documentation/3.0/manual/config/items/loadablemodules

Thanks,

-- 
Marko Myllynen

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