Hi @nurlan,
It is a cluster, not a sharded one but containing a replicaset. The cluster consists of three nodes – am04, am05, and am07 – where am05 is currently the primary. The pmm-agent is installed on all three nodes.
When I run pmm-admin summary
on the am05, I do get this error:
[GET /logs.zip][401] Logs default &{Code:7 Error:Access denied. Message:Access denied.}
summary_am05_2023_11_16_09_33_46.zip created.
But the ZIP does contain the log files of the mongodb_exporter
in client/pmm-agent/MONGODB_EXPORTER e03e1a6f-4d1b-4298-8411-3950532f5774.log
. Here a small summary of that:
time="2023-11-07T10:20:55.456+00:00" level=error msg="time=\"2023-11-07T10:20:55Z\" level=error msg=\"Registry - Cannot get arbiterOnly to check if this is arbiter role : cannot check if the instance is an arbiter: server selection error: context canceled, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: (ShutdownInProgress) The server is in quiesce mode and will shut down }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:20:55.954+00:00" level=error msg="time=\"2023-11-07T10:20:55Z\" level=error msg=\"Registry - Cannot get node type to check if this is a mongos : server selection error: context canceled, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: (ShutdownInProgress) The server is in quiesce mode and will shut down }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:20:55.954+00:00" level=error msg="time=\"2023-11-07T10:20:55Z\" level=error msg=\"Registry - Cannot get arbiterOnly to check if this is arbiter role : cannot check if the instance is an arbiter: server selection error: context canceled, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: (ShutdownInProgress) The server is in quiesce mode and will shut down }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:20:59.457+00:00" level=warning msg="time=\"2023-11-07T10:20:59Z\" level=warning msg=\"cannot load topology labels: cannot check if the instance is an arbiter: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: connection(127.0.0.1:6317[-75]) incomplete read of message header: read tcp 127.0.0.1:50688->127.0.0.1:6317: i/o timeout }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:21:00.458+00:00" level=error msg="time=\"2023-11-07T10:21:00Z\" level=error msg=\"error while checking mongodb connection: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: dial tcp 127.0.0.1:6317: connect: connection refused }, ] }. mongo_up is set to 0\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:21:00.955+00:00" level=error msg="time=\"2023-11-07T10:21:00Z\" level=error msg=\"Registry - Cannot get node type to check if this is a mongos : server selection error: context canceled, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: dial tcp 127.0.0.1:6317: connect: connection refused }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:21:00.955+00:00" level=error msg="time=\"2023-11-07T10:21:00Z\" level=error msg=\"Registry - Cannot get arbiterOnly to check if this is arbiter role : cannot check if the instance is an arbiter: server selection error: context canceled, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:6317, Type: Unknown, Last error: dial tcp 127.0.0.1:6317: connect: connection refused }, ] }\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
time="2023-11-07T10:21:01.571+00:00" level=error msg="time=\"2023-11-07T10:21:01Z\" level=error msg=\"cannot retrieve engine type: Engine is unavailable\"" agentID=/agent_id/e03e1a6f-4d1b-4298-8411-3950532f5774 component=agent-process type=mongodb_exporter
But looking at the date of the logs, this was around when we installed PMM on this specific node. (We interchanged two of the three nodes in the meanwhile of this topic.) There are no current mongodb_exporter
logs.