Hi, for a global view Dashboard in a noc i need a data table / ticker with latest alerts at root Level, but i don´t find similar. The Standard data table with Alerts is not sorted as needed -> can we clone it and sort by latest? Other solution?
Thanks in advance! Jürgen
Article Comments
There's a sortby field where you can replace probegroupdevice with downtimesince.
Using -downtimesince instead will negate the order :)
Kind regards,
Stephan Linke, Tech Support Team
Sep, 2017 - Permalink
Thank you, i´ll try this tomorrow, i´ll be there again at customer site.
Best regards, Jürgen
Sep, 2017 - Permalink
Hi supporters,
currently status: with "sortable=true" the triangle is shown at column "Down for", but clicking on it has no effect - ??
Also the new name "Alerts Latest" will not be shown on map.
Here the current source of "tableA0latest.htm", maybe you can tell me the necessary customizations :-)
<!--Data Tables: Alarms Latest--> <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>"> <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>"> <div class="maptablecontainer" style="overflow:hidden"> <#lang key="html.mapobjects.tablea0.tabletitle" default="Data Tables: Alarms Latest (@@@@)" var="tabletitle"> <#table tableid="sensortable" id="<@objectid>" content="sensors" columns="downtimesince,sensor,status,lastvalue,minigraph,priority,favorite,probegroupdevice,message" sortby="-downtimesince" infoheader="false" links="false" sortable="true" varexpand="tabletitle" tabletitle="@tabletitle" filter_tags="@tag(<@tagfilterstring>)" filter_status="5" filter_status="4" filter_status="10" filter_status="13" filter_status="14" > </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
Sep, 2017 - Permalink
The sortable button does indeed have no effect within maps. Sorry, should've mentioned that. Does downtimesince show and removing the - have any effect in the sorting?
Kind regards,
Stephan Linke, Tech Support Team
Sep, 2017 - Permalink
Hi,
it looks like that the table is in correct order sorted ascending by downtime.
But: where do i have to edit the name of table to show as "Alerts Latest" in Map Designer and Maps?
Best regards, Jürgen
Sep, 2017 - Permalink
You mean the object name in the map object list? This is done in the very first line, in the HTML comment.
Kind regards,
Stephan Linke, Tech Support Team
Sep, 2017 - Permalink
Hi,
i checked the name in first line of copied file and it Looks ok with new name "Alerts Latest" like in Code above.
But in map designer it will not be listet with this, only "Alerts" like in original file name - ??
Any ideas what´s wrong?
Best regards, Jürgen
Oct, 2017 - Permalink
You'll need to restart the PRTG Core Server service in order for the object to be reloaded :)
Kind regards,
Stephan Linke, Tech Support Team
Oct, 2017 - Permalink
Another Project and same Problem:
The filename of Data Table is "tableA0AlarmsRecentDown.htm".
The first line in file is "<!--Data Tables: Alarms Recent Down-->"
Reload File List was done multipe times. This has to be done for new content of folders. Restart of core service is not necessary.
In Map Designer the Data Table has correct name "Alarms Recent Down"
But: in Map the Data Table has title "Alarms (Root)" and not "Alarms Recent Down (Roo)", e.g. for Root level.
Where do i have to modify for correct title shown on map?
Here again the context of file:
<!--Data Tables: Alarms Recent Down--> <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>"> <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>"> <div class="maptablecontainer" style="overflow:hidden"> <#lang key="html.mapobjects.tablea0.tabletitle" default="Alarms Recent Down (@@@@)" var="tabletitle"> <#table tableid="sensortable" id="<@objectid>" content="sensors" columns="downtimesince,sensor,status,lastvalue,minigraph,priority,favorite,probegroupdevice,message" sortby="-downtimesince" infoheader="false" links="false" sortable="false" varexpand="tabletitle" tabletitle="@tabletitle" filter_tags="@tag(<@tagfilterstring>)" filter_status="5" filter_status="13" filter_status="14" > </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
Best regards, Jürgen Mayershofer
Nov, 2017 - Permalink
That would be tabletitle="@tabletitle" - just replace the variable with the name you'd like it to have :)
Kind regards,
Stephan Linke, Tech Support Team
Nov, 2017 - Permalink
Yesterday evening i copied the Data Table for Alerts and set it "sortable=true". Effect was: the column was marked with triangle, but clicking on it, had no effect.
In first line i changed the name to "Alerts-Latest", but it was only listed with "Alerts" and not as "Alerts-Latest" in category "Data Tables". Where do i have to modify the Name also?
Sep, 2017 - Permalink