What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Monitoring USB UPS On Windows WMI

Votes:

0

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.

usb wmi

Created on Jan 11, 2013 10:55:51 AM



2 Replies

Votes:

0

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.

Created on Jan 11, 2013 1:32:13 PM by  Torsten Lindner [Paessler Support]



Votes:

0

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

Created on Jan 11, 2013 10:38:08 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.