pcp
[Top] [All Lists]

Re: [pcp] PMCD Listen Interface

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] PMCD Listen Interface
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Fri, 01 Feb 2013 12:16:09 +1100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1263623744.14593212.1359680953158.JavaMail.root@xxxxxxxxxx>
References: <1263623744.14593212.1359680953158.JavaMail.root@xxxxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
Nathan
Thanks.

The file did not have an example, but this worked.
<snip>/var/lib/pcp/config/pmcd/pmcd.options
# listen only on the one network
-i 192.168.122.108
</snip>

Before the change
sudo netstat -lnp | grep 44321
tcp 0 0 0.0.0.0:44321 0.0.0.0:* LISTEN 4065/pmcd

After
sudo netstat -lnp | grep 44321
tcp 0 0 192.168.122.108:44321 0.0.0.0:* LISTEN 7528/pmcd

Chandana
On 01/02/13 12:09, Nathan Scott wrote:

----- Original Message -----
The PMCD man page describes a -i option to pmcd that defines the
interface which pmcd listens on.
...
I would like to use this option, but cannot find where this can be
specified in either pcp.conf or pmcd.conf.

You want the "pmcd.options" file (rpm -ql pcp | grep pmcd.options)

cheers.

--
Nathan

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