Pmm 2 client config

Recently I installed pmm2-client-2.2.2-6.el7.x86_64.rpm on my centos 7 server it connected just fine to the pmm server
but the client bonded to the incorrect nic

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 32:b6:db:14:00:f8 brd ff:ff:ff:ff:ff:ff
inet 140.1 brd 140.174.1.63 scope global eth2
valid_lft forever preferred_lft forever
inet6 fe80::30b6:dbff:fe14:f8/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 2e:d0:9a:39:61:83 brd ff:ff:ff:ff:ff:ff
inet 10.6.9.242/28 brd 10.6.9.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::2cd0:9aff:fe39:6183/64 scope link
valid_lft forever preferred_lft forever

I need the pmm client to be on eth1 10.6

Something of note here, being that i have 2 nics. eth2 is the only one with a gateway <<< wasnt sure if this mattered if pmm-admin grabs the nic that
has the gateway setup.

So is there a way to force pmm-admin to use one nic over the other, or possibly a config file i can manually change.

before installing agent, try to remove other NICs then install agent. then re-add other NICs. I know this is not a complete solution but you can try it out.

also, check this post
https://forums.percona.com/discussion/54636/pmm2-linux-metrics-only#latest

also, check this post
https://forums.percona.com/discussion/54636/pmm2-linux-metrics-only#latest