Pandora FMS community forums
WMI Module to determine free disk space - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Help for new users in Pandora FMS (http://pandorafms.org/forum/forum-10.html)
+--- Thread: WMI Module to determine free disk space (/thread-15155.html)



WMI Module to determine free disk space - BHarrington - 05-06-2020

Hi
Am using Pandora FMS v6.0SP3 that I installed from Amazon AWS marketplace.

I'm using WMI module to get the free disk space for a particular drive D.
So I can see in the module the WMI query is
SELECT Freespace FROM Win32_LogicalDisk WHERE DeviceID ='D:'
At present it returns a value of 19112882176 which is in bytes which translates to 17.8GB
I want to set up a warning threshold so that if the disk space goes below 5GB that a warning event will be fired.
So in the 'Warning status' for the module I entered the following:

Min=5368709120
Max=0
Inverse Internal is ticked

as reading from the documentation would indicate that if inverse interval is ticked, then if disk space goes below 5368709120 bytes then warning event should be triggered.
However I'm finding that a warning event is being trigged continuously even though free space is returning continuous values of around 19112882176

Have I mis-understood how to configure this.
Any help would be appreciated.
Thanks
Ben


RE: WMI Module to determine free disk space - BHarrington - 05-06-2020

Hi
I think I figured this out myself so no need to reply.
Regards
Ben