Chandana,
I've added a commented out -i example in pmcd.options.
Thanks.
On Fri, 2013-02-01 at 12:16 +1100, Chandana De Silva wrote:
> 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
>
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
|