Skip to content

APC UPS Sensor [ALPHA]

Ross Dargan edited this page Dec 6, 2015 · 1 revision

This sensor will allow you to see the key PowerChute Personal Edition data: Powerchute personal edition Inside PRTG (note the poor down time is because I had it turned off for a long time whilst testing another sensor): PRTG sensor

##Known limitations/bugs

  • This sensor will only ever work with APC UPS devices that use the PowerChute Personal Edition application
  • This is an early alpha and I have not yet ensured error conditions are correctly reported to PRTG. Please use this in parallel with the PowerChute Personal Edition software for now.
  • Currently the sensor provides the Load Percent, and the energy usage. Further channels can be added - raising an issue is probably the easiest way to get one added.

##Install Instructions ###Pre-requisites

  • Ensure you have the sensor host service application installed, and configured correctly (follow the guide here).
  • Ensure the server you have the sensor host installed on has the PowerChute Personal Edition installed, and that you can see your UPS from there.

###Step 1 Build the project located here: UpsSensor

There are currently no binaries available - but ping me a message here http://twitter.com/@rossdargan and I'll send some to you.

##Step 2 Stop the sensor host, then copy the files 'ntutil.dll', 'pdcdll.dll', 'UiControl.dll', 'UpsControll.dll', 'UpsDevice.dll', 'UpsSensor.dll' and 'UpsSensor.dll.config' to the sensors hosts sensor folder.

##Step 3 Restart the sensor host and browse to http://url:port/UpsSensor. Ensure you can see your UPS data correctly.

##Step 4 Add a 'Http Data Advanced' sensor to your prtg install, and set the url to the microservice address

##Step 5 Wait for the probe to update, and check again that the data matches the dashboard correctly

Clone this wiki locally