From 1ecf471ab87d1ff09a043627b60800e634ef51db Mon Sep 17 00:00:00 2001 From: enriquecd Date: Thu, 26 Jan 2017 12:37:50 +0100 Subject: [PATCH] Show free space in windows agent - #31 --- pandora_agents/win32/modules/pandora_module_freedisk_percent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc b/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc index 40a132fcef..ef9327e21f 100755 --- a/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc +++ b/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc @@ -58,7 +58,7 @@ Pandora_Module_Freedisk_Percent::run () { try { res = Pandora_Wmi::getDiskFreeSpacePercent (this->disk_id); - + this->setDescription(longtostr (Pandora_Wmi::getDiskFreeSpace ())); this->setOutput (longtostr (res)); } catch (Pandora_Wmi::Pandora_Wmi_Exception e) { this->has_output = false;