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

HTML Code for private website page

Votes:

0

I'm looking to add on a private page the current status for my different servers using PRTG, wondering how I go about it. With perhaps some sample code.

html prtg status

Created on Feb 15, 2016 3:26:18 AM



1 Reply

Accepted Answer

Votes:

0

Hi Gibster,

You can use the API of PRTG to query status information from your PRTG server. The API is documented on the "Setup > PRTG API" page.

An example to request an XML file with the number of all sensors in error state could look like this:

http://ServerAdress/api/table.xml?id=0&content=sensors&output=xml&columns=lastvalue,status&filter_status=5&username=prtgadmin&password=prtgadmin

ID "0" will include the complete device tree.

Next to this you could create a public map and integrate the map into your homepage via an iFrame. Please note that these will only work with http.

Best regards, Felix

Created on Feb 16, 2016 12:53:54 PM by  Felix Saure [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.