When trying to run pmm-admin config it said pmm-agent is not running. Please re-run pmm-agent setup
with --config-file flag. Whenever pmm-agent is running.
service pmm-agent status
Redirecting to /bin/systemctl status pmm-agent.service
● pmm-agent.service - pmm-agent
Loaded: loaded (/usr/lib/systemd/system/pmm-agent.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-12-29 11:39:07 +06; 21min ago
Main PID: 44822 (pmm-agent)
Tasks: 10 (limit: 49940)
Memory: 18.3M
CGroup: /system.slice/pmm-agent.service
└─44822 /usr/sbin/pmm-agent --config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.197+06:00] Using /usr/local/percona/pmm2/exporters>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.198+06:00] Starting… >
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: ERRO[2022-12-29T11:39:07.198+06:00] PMM Server address is not provided, hal>
Dec 29 11:39:07 bat-db.sslwireless.com pmm-agent[44822]: INFO[2022-12-29T11:39:07.198+06:00] Starting local API server on http://127>
Need suggesion to solve the issue.