We have a monitoring device with a password protected web page that we would like PRTG to loginto and extract data from. The data format can not be changed meaning the HTTP Content sensors requirements of [value] will not work. The HTML code from the page is pasted below. Can PRTG extract the 4 digit values before the "mV" ?
<table border=1> <tr align=center><td colspan=3>Analog & Status Inputs</td></tr> <tr align=center><td>Input</td><td>Analog Value</td><td>Status Value</td></tr> <tr align=center><td>1</td><td>1545mV</td><td>Off</td></tr> <tr align=center><td>2</td><td>1530mV</td><td>Off</td></tr> <tr align=center><td>3</td><td>1555mV</td><td>Off</td></tr> <tr align=center><td>4</td><td>1530mV</td><td>Off</td></tr> <tr align=center><td>5</td><td>1536mV</td><td>Off</td></tr> <tr align=center><td>6</td><td>1527mV</td><td>Off</td></tr> <tr align=center><td>7</td><td>1539mV</td><td>Off</td></tr> <tr align=center><td>8</td><td>1516mV</td><td>Off</td></tr> </table>
This has to be done with the help of the custom script sensor. Without the brackets, PRTG won't be able to parse the values correctly.
More about the script sensor can be found in the manual - click here :)
Oct, 2014 - Permalink