Runbook: Connecting to the Datastore
Runbook: Connecting to the Datastore
Runbook: Connecting to the Datastore
This runbook guides you through connecting to the NVSentinel MongoDB datastore to query health events and troubleshoot data-related issues.
Prerequisites:
kubectl access to the clustermongosh (MongoDB Shell) installed locallynvsentinel namespaceCheck the MongoDB pods:
All pods should be in Running state. The default deployment has 3 replicas: mongodb-0, mongodb-1, mongodb-2.
Use the provided script to connect:
The script automatically:
Once connected, you can query the datastore:
Count total health events:
Find unhealthy events:
Find events for a specific node:
Find fatal events: