Hi there,
I've created a custom map object for use in the PRTG map editor. In line one I specified a group name and a unique object name. In a second step i made a copy of this file, renamed it accordingly and changed the object name in line one.
The problem is that both mapobjects show up with the same object name in map editor although they have unique object names. Do you know someting about this behaviour?
Directory: C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects
File1: 01-error.html
<!--MyGroup: SOC-01-Error--> <div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <div class="top10listcontainer" style="overflow:hidden"> <#table tableid="sensortable" id="<@objectid>" content="sensors" columns="device,sensor,downtimesince,message,status,group" sortby=-"status" infoheader="false" links="true" sortable="true" tabletitle="SOC - Errors (@@)" filter_tags="@tag(<@tagfilterstring>)" filter_status="5" filter_status="13" count="50" > </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
File2: 02-warning.html
<!--MyGroup: SOC-02-Warning--> <div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <div class="top10listcontainer" style="overflow:hidden"> <#table tableid="sensortable" id="<@objectid>" content="sensors" columns="device,sensor,downtimesince,message,status,group" sortby=-"status" infoheader="false" links="true" sortable="true" tabletitle="SOC - Warnings (@@)" filter_tags="@tag(<@tagfilterstring>)" filter_status="4" count="50" > </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
Kind Regards Andreas
Article Comments
Hello Birk,
I've not had the opportunity to restart the server yet but after the scheduled maintenance window I will retest this scenario.
For now I have copied "File1: 01-error.html" with a completly different name (file and object name) this works fine. Every time I spcify the name as shown above in "File2: 02-warning.html" it will pop up with the identical name in map editor.
Maybe something went wrong during initial creation with this name...
I will leave a reply after maintenance at the end of february.
Regards Andreas
Feb, 2019 - Permalink
Hello Andreas,
This is indeed a bit strange. Have you already tried to restart the PRTG Core Service? Maybe there are some files cached here.
Kind regards,
Birk Guttmann, Tech Support Team
Feb, 2019 - Permalink