:
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 “handle” from sysinternals.com
NOTE: The first execution (on the agent) will require “desktop access”, so configure Pandora FMS agent service to interact with desktop in order to “accept” the handle licence.
Module data
module_begin
module_name File_Handles
module_description Opened filehandles in whole system. This requires handle from sysinternals.com
module_type generic_data
module_exec handle -s | grep "Total" | gawk "{ print $3 }"
module_end
(Visited 246 times, 1 visits today)

