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

How can I add "deep links" into PRTG's interface for map status icons?

Votes:

0

I'm creating a map and have added Status Icons for several sensors

I'd like to be able to click on the Status icon and be taken to the PRTG page for that sensor

Is there a variable I can use in the html, so that I don't have to go and find out the id for each sensor?

I currently have something like this?

htmlbefore: <a http://my-prtg/sensor.htm?id=24038> htmlafter: </a>

maps prtg status

Created on Apr 13, 2010 9:29:40 AM

Last change on Apr 16, 2010 8:55:15 AM by  Daniel Zobel [Product Manager]



Best Answer

Accepted Answer

Votes:

0

This article applies to PRTG Network Monitor 12 or later, as well as to previous (deprecated) versions

Adding 'Deep Links' to Status Icons in Maps

In this case you would need to create your own map object.

  • Duplicate the map object of your choice in the /webroot/mapobjects subfolder of your PRTG installation. (Note: In versions previous to PRTG 13.2.3, the folder is /website/mapobjects.)
  • Open the file in a text editor
  • Change the name of map object by editing the first line
  • find the placeholder for "htmlbefore"
  • Insert your link code: <a href="/sensor.htm?id=<@objectid>">
  • find the placeholder for "htmlafter"
  • Insert the end of the <a> tag: </a>

See also:

How can I add or edit map objects used for PRTG's maps?

Please take a look at the other Knowledge Base entries regarding maps: Search for "map"

Created on Apr 13, 2010 5:26:42 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Jan 7, 2014 3:38:53 PM by  Gerald Schoch [Paessler Support]



5 Replies

Votes:

0

The "htmlbefore"&"htmlafter" solution is the right way to go.

Created on Apr 13, 2010 10:52:15 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



Votes:

0

I can see that this works, but I have to find out the sensorid for each sensor, so I can put this in the hyperlink.

If I am adding a large number of Status Icons, this will be a pain and prone to error

Is there a variable that I can use in the href so that it will automatically point to the sensor for that Status Icon?

Created on Apr 13, 2010 10:57:47 AM



Accepted Answer

Votes:

0

This article applies to PRTG Network Monitor 12 or later, as well as to previous (deprecated) versions

Adding 'Deep Links' to Status Icons in Maps

In this case you would need to create your own map object.

  • Duplicate the map object of your choice in the /webroot/mapobjects subfolder of your PRTG installation. (Note: In versions previous to PRTG 13.2.3, the folder is /website/mapobjects.)
  • Open the file in a text editor
  • Change the name of map object by editing the first line
  • find the placeholder for "htmlbefore"
  • Insert your link code: <a href="/sensor.htm?id=<@objectid>">
  • find the placeholder for "htmlafter"
  • Insert the end of the <a> tag: </a>

See also:

How can I add or edit map objects used for PRTG's maps?

Please take a look at the other Knowledge Base entries regarding maps: Search for "map"

Created on Apr 13, 2010 5:26:42 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Jan 7, 2014 3:38:53 PM by  Gerald Schoch [Paessler Support]



Votes:

0

This works perfectly using the web browser

<#mapobject type="htmlbefore" subid="<@subid>">
<a href="/sensor.htm?id=<@objectid>">
<#mapobject type="htmlafter" subid="<@subid>">
</a>

However, the links do not appear to work within the Windows GUI

This is not really a problem for me, but should it work?

Thanks.

Created on Apr 14, 2010 9:17:15 AM

Last change on May 5, 2010 8:28:40 AM by  Daniel Zobel [Product Manager]



Votes:

0

I think the web browser inside the Windows GUI does not support navigation, sorry.

Created on Apr 19, 2010 9:18:24 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6




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.