{"id":1516,"date":"2017-12-15T11:51:59","date_gmt":"2017-12-15T11:51:59","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=1516"},"modified":"2017-12-15T11:52:04","modified_gmt":"2017-12-15T11:52:04","slug":"filehandles-in-windows","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/filehandles-in-windows\/","title":{"rendered":"Filehandles in Windows"},"content":{"rendered":"<p class=\"description_pui\">This module will count active filehandles in Windows. Can be modified to count specific kind of handles, or handles for a given process.<\/p>\n<p>NOTE: you need to download &#8220;handle&#8221; from sysinternals.com<\/p>\n<p>NOTE: The first execution (on the agent) will require &#8220;desktop access&#8221;, so configure Pandora FMS agent service to interact with desktop in order to &#8220;accept&#8221; the handle licence.<\/p>\n<h2>Module data<\/h2>\n<pre>module_begin\u00a0\r\nmodule_name File_Handles\u00a0\r\nmodule_description Opened filehandles in whole system. This requires handle from sysinternals.com\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec handle -s | grep \"Total\" | gawk \"{ print $3 }\"\u00a0\r\nmodule_end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This module will count active filehandles in Windows. Can be modified to count specific kind of handles, or handles for a given process. NOTE: you need to download &#8220;handle&#8221; from sysinternals.com NOTE: The first execution (on the agent) will require &#8220;desktop access&#8221;, so configure Pandora FMS agent service to interact with desktop in order to [&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":[6,26],"tags":[402,121],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1516"}],"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=1516"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1516\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=1516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=1516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=1516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}