Pmm server not listed after adding on the node Rocky Linux

Hi,

After CentOS gone, I am trying out Rocky Linux as a replacement. I installed the pmm-agent as per the instructions here.
It is running fine:

systemctl status pmm-agent
● pmm-agent.service - pmm-agent
   Loaded: loaded (/usr/lib/systemd/system/pmm-agent.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2022-03-10 01:38:32 GMT; 6s ago
 Main PID: 72466 (pmm-agent)
    Tasks: 44 (limit: 101066)
   Memory: 56.7M
   CGroup: /system.slice/pmm-agent.service
           ├─72466 /usr/sbin/pmm-agent --config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml
           ├─72481 /usr/local/percona/pmm2/exporters/node_exporter --collector.bonding --collector.buddyinfo --collector.cpu --collector.diskstats --collector.entropy --collecto>
           ├─72482 /usr/local/percona/pmm2/exporters/postgres_exporter --auto-discover-databases --collect.custom_query.hr --collect.custom_query.hr.directory=/usr/local/percona>
           └─72535 /usr/local/percona/pmm2/exporters/vmagent -envflag.enable=true -httpListenAddr=127.0.0.1:42002 -loggerLevel=INFO -promscrape.config=/tmp/vm_agent/agent_id/ec4>

Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.473+00:00] 2022-03-10T01:38:35.473Z        info        VictoriaMetrics/lib/persistentqueue/fastqueu>
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.473+00:00] 2022-03-10T01:38:35.473Z        info        VictoriaMetrics/app/vmagent/remotewrite/clie>
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.474+00:00] 2022-03-10T01:38:35.473Z        info        VictoriaMetrics/app/vmagent/main.go:112     >
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.474+00:00] 2022-03-10T01:38:35.474Z        info        VictoriaMetrics/lib/promscrape/scraper.go:96>
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.474+00:00] 2022-03-10T01:38:35.474Z        info        VictoriaMetrics/lib/httpserver/httpserver.go>
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.474+00:00] 2022-03-10T01:38:35.474Z        info        VictoriaMetrics/lib/httpserver/httpserver.go>
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.475+00:00] 2022-03-10T01:38:35.475Z        info        VictoriaMetrics/lib/promscrape/config.go:65 >
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.475+00:00] 2022-03-10T01:38:35.475Z        info        VictoriaMetrics/lib/promscrape/config.go:69 >
Mar 10 01:38:35 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:35.476+00:00] 2022-03-10T01:38:35.476Z        info        VictoriaMetrics/lib/promscrape/scraper.go:35>
Mar 10 01:38:36 fuse-primary-rocky pmm-agent[72466]: INFO[2022-03-10T01:38:36.448+00:00] Sending status: RUNNING (port 42002).         agentID=/agent_id/ec4ddfc4-3ff7-4295-82f0->
lines 1-22/22 (END)

agent status:

pmm-admin status
Agent ID: /agent_id/081375b5-b713-4bc7-8759-6f4bbc063611
Node ID : /node_id/41e9ea7f-c219-41e6-bab5-5afd67e6b247

PMM Server:
        URL    : https://192.168.20.10:32043/
        Version: 2.26.0

PMM Client:
        Connected        : true
        Time drift       : 68h39m21.784197778s
        Latency          : 2.816691ms
        pmm-admin version: 2.26.0
        pmm-agent version: 2.26.0
Agents:
        /agent_id/1582d996-50fd-4f7c-ad6f-9f797a121340 node_exporter Running
        /agent_id/42eeee92-96f7-4587-a13e-5a1a65e3e215 postgresql_pgstatements_agent Running
        /agent_id/ce5f887b-327c-4fc0-b526-51c316f5dc69 postgres_exporter Running
        /agent_id/ec4ddfc4-3ff7-4295-82f0-363274ecdc96 vmagent Running

I can see that the number of `Monitored Nodes’ gone up in the server. But the added server is not listed in the list to get the drilled down info.

As you can see in the above image that the Node is listed as 'fuse-primary-rocky' but It’s not listed on the main dashboard neither is available in the Node Summary dashboard:

What am I missing? Why it’s not available. I have another service running on ubuntu called fuse and it is listed??

thanks

1 Like

Hello, sometimes it takes a few moments for new nodes to appear. Did you try changing the time interval to “last 5 min” and see if it appears?

2 Likes