{"id":1924,"date":"2017-12-18T14:40:58","date_gmt":"2017-12-18T14:40:58","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=1924"},"modified":"2017-12-18T14:41:19","modified_gmt":"2017-12-18T14:41:19","slug":"mongodb-simple-local-monitoring","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/mongodb-simple-local-monitoring\/","title":{"rendered":"MongoDB simple local monitoring"},"content":{"rendered":"<p>These are a collection of local modules for monitoring Mongodb from outside, with a software agent.<\/p>\n<h2>Module data<\/h2>\n<pre>module_begin\u00a0\r\nmodule_name MongoDB_Status\u00a0\r\nmodule_type generic_proc\u00a0\r\nmodule_exec ps aux | grep mongod | grep -v grep | wc -l\u00a0\r\nmodule_end\u00a0\r\n\r\nmodule_begin\u00a0\r\nmodule_name MongoDB_Opened_Files\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec lsof -l | grep mongod | wc -l\u00a0\r\nmodule_end\u00a0\r\n\r\nmodule_begin\u00a0\r\nmodule_name MongoDB_Memory%\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec ps aux | grep mongod | grep -v grep | awk '{ print $4 }'\u00a0\r\nmodule_end\u00a0\r\n\r\nmodule_begin\u00a0\r\nmodule_name MongoDB_CPU%\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec ps aux | grep mongod | grep -v grep | awk '{ print $3 }'\u00a0\r\nmodule_end\u00a0\r\n\r\nmodule_plugin grep_log \/var\/log\/mongodb\/mongodb.log MongoDB_logfile .<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>These are a collection of local modules for monitoring Mongodb from outside, with a software agent. Module data module_begin\u00a0 module_name MongoDB_Status\u00a0 module_type generic_proc\u00a0 module_exec ps aux | grep mongod | grep -v grep | wc -l\u00a0 module_end\u00a0 module_begin\u00a0 module_name MongoDB_Opened_Files\u00a0 module_type generic_data\u00a0 module_exec lsof -l | grep mongod | wc -l\u00a0 module_end\u00a0 module_begin\u00a0 module_name MongoDB_Memory%\u00a0 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[15],"tags":[195],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1924"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=1924"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1924\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=1924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=1924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=1924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}