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

HTTP Content Sensor

Votes:

0

Does it means that the websever being monitored must return data like [].If so ,the http content sensor is not flexible. If not can you show me an url that could be used to "http content sensor",thanks

http-content prtg sensor

Created on Oct 9, 2012 9:40:31 AM



Best Answer

Accepted Answer

Votes:

0

Hi,
my apologies. Please move the file to the \website subfolder \public and then adjust the URL of the sensor to

http://IP:8080/public/test.htm

Now it should work. You only can access the webserver root when authenticated but this is not possible with the HTTP Content Sensor.
Best regards

Created on Oct 10, 2012 6:08:19 AM by  Konstantin Wolff [Paessler Support]



3 Replies

Votes:

0

Hi,
I'm afraid the sensor is not intended to be flexible. It should only read a value in a certain notation from a website whereas the value can be either float or integer.
I'm also afraid I don't have any example website but to test you may create a file called "test.htm" and put the following content in it:

[12]

Now place the file in <PRTG Install Directory>\website (find precises path here). Now create a HTTP Content Sensor and point it to the webinterface of your PRTG installation, remove the extension (like group.htm) and add "test.htm" to the URL.
The sensor should now show the value you put as content in the file.
Best regards

Created on Oct 9, 2012 12:13:50 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

To Konstantin, Thank your answer,I have a try, I create test.htm in <PRTG Install Directory>\website.And input url in IE "http://IP:8080/test.htm",it shows the number. But I add the http content sensor,Value Type:integer Number of Channels:1 There is no data.

Created on Oct 10, 2012 1:15:03 AM



Accepted Answer

Votes:

0

Hi,
my apologies. Please move the file to the \website subfolder \public and then adjust the URL of the sensor to

http://IP:8080/public/test.htm

Now it should work. You only can access the webserver root when authenticated but this is not possible with the HTTP Content Sensor.
Best regards

Created on Oct 10, 2012 6:08:19 AM by  Konstantin Wolff [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.