Mongosniff Error : unknown opcode
unknown opcode 2011


You are trying to use an older version of mongosniff to inspect traffic for a MongoDB server that uses a newer version of the MongoDB wire protocol.

Specifically, it looks like you are using a version of mongosniff older than 3.2 to inspect traffic from MongoDB 3.2 (which added the 2011 opcode for dbCommandReply).

To fix this you should use a version of mongosniff that matches your MongoDB server deployment.