{"id":1691,"date":"2017-12-18T11:35:23","date_gmt":"2017-12-18T11:35:23","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=1691"},"modified":"2017-12-18T11:36:46","modified_gmt":"2017-12-18T11:36:46","slug":"disk-usage-monitor","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/disk-usage-monitor\/","title":{"rendered":"Disk usage monitor"},"content":{"rendered":"<p class=\"description_pui\">This plugin uses free to fetch the used disk from the different partitions and swap performance metrics from a linux server.<br \/>\nIt should detect almost all kind of partitions and where they are mounted.<\/p>\n<p>To install it:<\/p>\n<ol>\n<li>Verify that your system has free and df installed: $ free -V; df &#8211;version<\/li>\n<li>Download the file &#8220;diskusage_plugin&#8221;.<\/li>\n<li>Copy it to your agent plugins directory. F.ex. on my system in &#8220;\/etc\/pandora\/plugins&#8221;.<\/li>\n<li>Make it executable: $ chmod +x \/etc\/pandora\/plugins\/diskusage_plugin<\/li>\n<\/ol>\n<p>To use it, just call it from the config file of your agent with the following line:<\/p>\n<pre>\"module_plugin diskusage_plugin\"<\/pre>\n<p>For more plugin options or change warning and critical levels see its code.<\/p>\n<h2>Module data<\/h2>\n<p>Depends on: free, df<\/p>\n<h2>Files:<\/h2>\n<p><a href=\"\/library\/files_repository\/1363724572.magulinb.diskusage_plugin\" rel=\"nofollow\">diskusage_plugin<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin uses free to fetch the used disk from the different partitions and swap performance metrics from a linux server. It should detect almost all kind of partitions and where they are mounted. To install it: Verify that your system has free and df installed: $ free -V; df &#8211;version Download the file &#8220;diskusage_plugin&#8221;. [&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":[25],"tags":[228],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1691"}],"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=1691"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1691\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=1691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=1691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=1691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}