Mongos seems to be down in percona but actually the node is up and serveice is running

Description:

Hi Team,

We have configured email alert for mongodb service down from the default teamplate.For shards and config servers it works properly whenever the service is down it throws alert but for mongos servers we are getting alerts frequently but when cheked the services are running on the node but in Percona monitoring tool the service shows as down.

Can someone help to troubleshoot this further.

]

Hop on the mongos server and check the pmm-agent logs. There might be indication as to why the alive check is failing.

Hi Matthewb,

Thanks for the quick response.But i don’t find a log file for pmm-agent on the servers.
Is there any other way to check.
root@server:~# find / -name pmm-agent.log
find: ‘/proc/1416010/task/1444412’: No such file or directory
find: ‘/proc/1416010/task/1444421’: No such file or directory
find: ‘/proc/1416010/task/1444487’: No such file or directory
find: ‘/proc/1416010/task/1444496’: No such file or directory
find: ‘/proc/1416010/task/1444499’: No such file or directory
find: ‘/proc/1416010/task/1444501’: No such file or directory
find: ‘/proc/1416010/task/1444505’: No such file or directory
root@server:~#

Regards,
Dhivya.K

Most logs these days are handled by journald. Check journald | grep pmm-agent