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


how to have sensor's data on same line in MapObjects?

Votes:

0

Your Vote:

Up

Down

I create new MapObject and I want to show sensor's name and sensor's message on the same line, but every sort of html format doesn't work.. It's always showed on two lines! here the code:

<div class="map_object map_icon" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<span>
	<#objectproperty name="Name" id="<@objectid>">: <#objectstatus name="message" id="<@objectid>"> 
</span>
<#mapobject type="htmlafter" subid="<@subid>">		                       
</div>

Thanks a lot!

Gianluca

map message sensor

Created on Feb 8, 2011 9:34:10 PM by  gianluca bona (0) 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

How about adding a

style="background:#fff"

to your <TD> cells?

Created on Feb 10, 2011 4:10:34 PM by  Dirk Paessler [Founder Paessler AG] (10,858) 3 4



3 Replies

Votes:

0

Your Vote:

Up

Down

Try using a <table>:

<div class="map_object map_icon" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <span> <table><tr><td><#objectproperty name="Name" id="<@objectid>">:</td><td><#objectstatus name="message" id="<@objectid>"> </td></tr></table> </span> <#mapobject type="htmlafter" subid="<@subid>"> </div>

Created on Feb 9, 2011 7:16:40 AM by  Dirk Paessler [Founder Paessler AG] (10,858) 3 4



Votes:

0

Your Vote:

Up

Down

It works great! But I don't understand why if I show the "message" field, the mapobject is always transparent and it shows a strange grey line in the bottom.. Any suggestions to have a white mapobject and/or no lines?

Gianluca

Created on Feb 9, 2011 9:17:02 PM by  gianluca bona (0) 1



Accepted Answer

Votes:

0

Your Vote:

Up

Down

How about adding a

style="background:#fff"

to your <TD> cells?

Created on Feb 10, 2011 4:10:34 PM by  Dirk Paessler [Founder Paessler AG] (10,858) 3 4



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.