Hi Mercury84,
This should be possible - did personally never try it - but have a look at this:
https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/win32-battery
All you eventually need is to identify the information you want to see and engage PRTG with a WMI Custom (String) sensor or e.g. a PowerShell script to collect the data.
I am not aware that there are any standard sensors for this.
Keep in mind, laptops aren't static systems - they might be online/offline - I suppose you engage remote probes or something similar for this..
What I personally would do is a create a PowerShell script that either tries to find the laptop and request the WMI data to report it to PRTG with a Custom Script-Sensor or even better - have advanced HTTP sensors running that wait for incoming data, then create a PowerShell script that will be executed in intervals via Task Scheduler on the laptop (hidden execution) and tries to reach your PRTG installation to inject the current data.. this still needs a way to inject the target probe key information, but it might be more reliable...
Regards
Florian Rossmark
www.it-admins.com
Add comment