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

Can PRTG get data from a webpage that does not have the [] fields

Votes:

0

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>

html http-content-sensor parse web-page

Created on Oct 17, 2014 1:55:27 PM



1 Reply

Votes:

0

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 :)

Created on Oct 20, 2014 11:38:32 AM by  Stephan Linke [Paessler Support]




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.