所謂的凡走過必留下痕跡
不留痕跡很難找到當初設定的方法的
簡單來說,執行完下面的指令就加好 plugin 了,我的環境是 Ubuntu 14.04.5 LTS
sudo apt-get install python-pip build-essential python-dev git -y sudo pip install pymongo git clone https://github.com/comerford/mongo-munin.git /tmp/mongo-munin sudo cp /tmp/mongo-munin/mongo_* /usr/share/munin/plugins sudo ln -sf /usr/share/munin/plugins/mongo_btree /etc/munin/plugins/mongo_btree sudo ln -sf /usr/share/munin/plugins/mongo_conn /etc/munin/plugins/mongo_conn sudo ln -sf /usr/share/munin/plugins/mongo_lock /etc/munin/plugins/mongo_lock sudo ln -sf /usr/share/munin/plugins/mongo_mem /etc/munin/plugins/mongo_mem sudo ln -sf /usr/share/munin/plugins/mongo_ops /etc/munin/plugins/mongo_ops sudo ln -sf /usr/share/munin/plugins/mongo_docs /etc/munin/plugins/mongo_docs sudo chmod +x /usr/share/munin/plugins/mongo_*
來源參考https://github.com/comerford/mongo-munin的README