{"id":5507,"date":"2017-06-29T17:00:24","date_gmt":"2017-06-29T07:00:24","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=5507"},"modified":"2017-06-29T13:23:39","modified_gmt":"2017-06-29T03:23:39","slug":"openmediavault-modifying-monit-parameters","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/openmediavault-modifying-monit-parameters\/","title":{"rendered":"OpenMediaVault &#8211; Modifying Monit Parameters"},"content":{"rendered":"<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/openmediavault_logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5512\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/openmediavault_logo.png\" alt=\"\" width=\"535\" height=\"104\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/openmediavault_logo.png 535w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/openmediavault_logo-300x58.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><\/p>\n<p>You can file this article under &#8220;not terribly useful but something I may refer to again in the future&#8221;. I&#8217;ve been migrating a bunch of data from one of my QNAP NAS devices at home to my <a href=\"http:\/\/www.openmediavault.org\/\">OpenMediaVault<\/a> NAS. Monit, my &#8220;faithful employee&#8221;, sent me an email to let me know I was filling up the filesystem on the OMV NAS.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/Monit.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5508\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/Monit.png\" alt=\"\" width=\"571\" height=\"139\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/Monit.png 571w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/06\/Monit-300x73.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p>By default OMV alerts at 80% full. You can change this though. Just jump on a terminal and run the following:<\/p>\n<pre><strong>nano \/etc\/default\/openmediavault<\/strong><\/pre>\n<p>Add this line to the file<\/p>\n<pre><strong>OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE=95<\/strong><\/pre>\n<p>Then run the following commands to update the configuration<\/p>\n<pre><strong>omv-mkconf collectd\r\n<\/strong><strong>monit restart collectd<\/strong><\/pre>\n<p>Of course, you need to determine what level of filesystem usage you&#8217;re comfortable with. In this example, I&#8217;ve set it to 95% as it&#8217;s a fairly static environment. If, however, you&#8217;re capable of putting a lot of data on the device quickly, then 5% buffer may be insufficient. I&#8217;d also like to clarify that I&#8217;m not unhappy with QNAP, but the device I&#8217;m migrating off is 8 years old now and it would be a pain to have to recover if something went wrong. If you&#8217;re interested in reading more about Monit you can find documentation <a href=\"https:\/\/mmonit.com\/monit\/documentation\/monit.html\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can file this article under &#8220;not terribly useful but something I may refer to again in the future&#8221;. I&#8217;ve been migrating a bunch of data from one of my QNAP NAS devices at home to my OpenMediaVault NAS. Monit, my &#8220;faithful employee&#8221;, sent me an email to let me know I was filling up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[870,5],"tags":[110,1024,38,871],"class_list":["post-5507","post","type-post","status-publish","format-standard","hentry","category-openmediavault","category-storage","tag-howto","tag-monit","tag-nas","tag-openmediavault"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/5507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=5507"}],"version-history":[{"count":5,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/5507\/revisions"}],"predecessor-version":[{"id":5516,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/5507\/revisions\/5516"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=5507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=5507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=5507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}