Add MongoDB nodes as monitored devices and track replica set health alongside the rest of your infrastructure.
MongoDB's built-in clusterMonitor role covers replication state, operation counters and resource metrics without granting data access.
use admin
db.createUser({
user: "zynty_ro",
pwd: "STRONG_PASSWORD",
roles: [ { role: "clusterMonitor", db: "admin" } ]
})
Add the primary and each secondary as separate devices so you can see replica set state per node, not just an aggregate.
A node reporting anything other than PRIMARY or SECONDARY (like RECOVERING or an unreachable state) should trigger an alert well before it affects application reads.