<style type="text/css">a[data-mtli~="mtli_filesize927b"]:after {content:" (927 b)"}</style><style type="text/css">a[data-mtli~="mtli_filesize927b"]:after {content:" (927 b)"}</style>{"id":6089,"date":"2021-07-08T15:34:40","date_gmt":"2021-07-08T13:34:40","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=6089"},"modified":"2021-07-08T15:34:42","modified_gmt":"2021-07-08T13:34:42","slug":"monitor-capacity-of-the-zpool-list","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/monitor-capacity-of-the-zpool-list\/","title":{"rendered":"Monitor % capacity of the zpool list"},"content":{"rendered":"<p>This module reports the % capacity of zfs zpool as returned by zpool list.<\/p>\n<p>Creates modules for all local zpools.<\/p>\n<p>Requires the local Pandora agent installed.&nbsp; Requires the zpool command and perl.<\/p>\n<p>Copy the plugin script (see below) to the folder <strong>\/etc\/pandora\/plugins<\/strong> and ensure executable.<\/p>\n<p>Test by executing the plug in script.&nbsp; It should return some plausible module XML.<\/p>\n<p>Add the following line to the <strong>\/etc\/pandora\/pandora_agent.conf<\/strong><\/p>\n<pre>module_plugin zfs_zpool_capacity.pl<\/pre>\n<p>Restart the agent service.<\/p>\n<p>Tested with OpenSUSE Leap 15.2. Unzip and change rights to allow execution.<\/p>\n<p><a href=\"http:\/\/pandorafms.com\/library\/wp-content\/uploads\/2021\/07\/zfs_zpool_capacity.zip\" class=\"mtli_attachment mtli_zip\" data-mtli=\"mtli_filesize927b\">zfs_zpool_capacity<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This module reports the % capacity of zfs zpool as returned by zpool list. Creates modules for all local zpools. Requires the local Pandora agent installed.&nbsp; Requires the zpool command and perl. Copy the plugin script (see below) to the folder \/etc\/pandora\/plugins and ensure executable. Test by executing the plug in script.&nbsp; It should return [&hellip;]<\/p>\n","protected":false},"author":3862,"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":[1036],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/6089"}],"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\/3862"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=6089"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/6089\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=6089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=6089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=6089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}