New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Monitoring USB UPS On Windows WMI

Votes:

0

Your Vote:

Up

Down

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 by  David Owen (0) 1



2 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  David Owen (0) 1



Please log in or register to enter your reply.


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.