MongoDB Monitoring script
#!/bin/bash from=”Alerts@dbversity.com” to=”dbversity@gmail.com” subject=”MongoDB Monitoring Alerts : Long running queries and No. of Open connections” echo ” Hello Team,” > /tmp/email_body.txt echo ” ” >> /tmp/email_body.txt echo “There are long running queries on the MongoDB server, please find attached txt…