mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Show free space in windows agent - #31
This commit is contained in:
parent
99220f4400
commit
1ecf471ab8
@ -58,7 +58,7 @@ Pandora_Module_Freedisk_Percent::run () {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
res = Pandora_Wmi::getDiskFreeSpacePercent (this->disk_id);
|
res = Pandora_Wmi::getDiskFreeSpacePercent (this->disk_id);
|
||||||
|
this->setDescription(longtostr (Pandora_Wmi::getDiskFreeSpace ()));
|
||||||
this->setOutput (longtostr (res));
|
this->setOutput (longtostr (res));
|
||||||
} catch (Pandora_Wmi::Pandora_Wmi_Exception e) {
|
} catch (Pandora_Wmi::Pandora_Wmi_Exception e) {
|
||||||
this->has_output = false;
|
this->has_output = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user