I have a Windows 2008 Server with a local USB UPS.

I believe I can monitor the Battery level via WMI but I do not know what custom object to use.


Article Comments

Hello,

if there is a WMI Class stating about the battery level with a numerical counter, it should be possible to read it with the WMI Custom-Sensor.

best regards.


Jan, 2013 - Permalink

I placed the following query in a file called "Get Win32BatteryCharge.wql" in the C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\WMI WQL scripts directory on my Windows 2008 server:

SELECT EstimatedChargeRemaining FROM Win32_Battery

This correctly fetches the % charge on the attached UPS battery pack.

Many thanks


Jan, 2013 - Permalink