07-29-2014, 08:48 AM
Tried both of the module_exec below:
#FOLDER SIZE
module_begin
module_name Folder size WSUS
#module_description Folder Size of WSUS
module_type generic_data
#module_exec du -q d: WSUS | grep Size: | gawk "{print $2}"
module_exec du -q d: \WSUS | grep Size: | gawk '{print $2}'
module_end
and I still get the timed out message in the pandora log.
2014-07-29 09:47:34 Pandora_Module_Exec: Folder size WSUS timed out (retcode: 259)
#FOLDER SIZE
module_begin
module_name Folder size WSUS
#module_description Folder Size of WSUS
module_type generic_data
#module_exec du -q d: WSUS | grep Size: | gawk "{print $2}"
module_exec du -q d: \WSUS | grep Size: | gawk '{print $2}'
module_end
and I still get the timed out message in the pandora log.
2014-07-29 09:47:34 Pandora_Module_Exec: Folder size WSUS timed out (retcode: 259)