Show a live sensor value on a webpage

Votes:

0

Your Vote:

Up

Down

We have a Citrix farm that we monitor, and we monitor the license server service using wmi to generate graphs showing used and available licenses. This works as it should, but we would like to show just the numeric live value of the used and available licenses on a external webpage (Dashboard). I have played around with the API, but this does not seem to generate the code that i need to make this work.

html prtg web-page

Created on May 28, 2010 8:19:19 AM by  Hatteland Solutions (0) 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

There are various ways to do this:

  • You can either use the technique suggested by Torsten (How can I publish my monitoring results) using an <IFRAME>
  • Or you use some code inside your webserver that requests the value from PRTG's API and displays it in the page's HTML.
  • Or you use some AJAX on your webpage that requests the value from PRTG's API

More about the API: How can I access my monitoring data via an external interface (e.g. an API)?

Anyway, there is - except for the IFRAME solution - no out of the box solution. Depending on the technology used on your webpage you will need to make your "hands dirty" and write some code. Since I know too little about your project I can not suggest a more detailed approach.

Created on Jun 1, 2010 10:04:50 AM by  Dirk Paessler [Paessler Support] (9,613) 3 3

Last change on Jun 1, 2010 10:05:59 AM by  Dirk Paessler [Paessler Support] (9,613) 3 3



3 Replies

Votes:

0

Your Vote:

Up

Down

Hello,

please have a look at the following article with a few suggestion how to achieve your request: How can I publish my monitoring results?

Best Regards.

Created on May 28, 2010 2:22:59 PM by  Torsten Lindner [Paessler Support] (15,450) 3 1



Votes:

0

Your Vote:

Up

Down

The answer really does not answer my question. How can i show a live numeric sensor value and not a graph on an external website?

Created on May 31, 2010 12:11:52 PM by  Hatteland Solutions (0) 1



Accepted Answer

Votes:

0

Your Vote:

Up

Down

There are various ways to do this:

  • You can either use the technique suggested by Torsten (How can I publish my monitoring results) using an <IFRAME>
  • Or you use some code inside your webserver that requests the value from PRTG's API and displays it in the page's HTML.
  • Or you use some AJAX on your webpage that requests the value from PRTG's API

More about the API: How can I access my monitoring data via an external interface (e.g. an API)?

Anyway, there is - except for the IFRAME solution - no out of the box solution. Depending on the technology used on your webpage you will need to make your "hands dirty" and write some code. Since I know too little about your project I can not suggest a more detailed approach.

Created on Jun 1, 2010 10:04:50 AM by  Dirk Paessler [Paessler Support] (9,613) 3 3

Last change on Jun 1, 2010 10:05:59 AM by  Dirk Paessler [Paessler Support] (9,613) 3 3



Please log in or register to enter your reply.


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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

Top Tags


View all Tags