Skip to main content

MongoDB operations

v0.3.1

Replica-set + shard-cluster introspection, slow-query identification, collection stats, plus remediation surface (killOp, replSet stepDown, collection compact, dropIndex). Authenticates via MONGO_URI env var on the runner host.

31 allowed by default 3 need approval 1 denied by default
Pack ID
mongodb
Vendor
emisar
OS
linux
Actions
35
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
mongosh

Install

emisar pack install validates the pack and verifies its content hash before copying it into /etc/emisar/packs. The --hash below pins the install to the exact bytes on this page — a tampered copy is rejected. After install, reload the runner; it re-reads the catalog and advertises every action.

content hash: sha256:35cc074fef55878a847a32b74eabb96b0acfb76df7e8be6dea60f2a83e91d24b

on the runner host
sudo emisar pack install mongodb \
  --hash sha256:35cc074fef55878a847a32b74eabb96b0acfb76df7e8be6dea60f2a83e91d24b \
  --dest /etc/emisar/packs

# Reload so the runner re-reads the catalog:
sudo systemctl reload emisar

Actions 35 total

View on GitHub