New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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


HTML Code for private website page

Votes:

0

Your Vote:

Up

Down

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 by  Gibster (0) 1



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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]



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.