cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 10

Link to a View Instead of a Node

Hi Everybody,

This is a long shot I know but I've been surprised many times on Thwack by the erudite people here (shameless flattery) I though I'd give it a shot.

Hovering over the custom poller below you see the underlying node and of course if you click on it the underlying node will come up. Instead, I'd like to link to a view containing gauges and charts for the poller. I don't think it can be done. Am I wrong?

pastedImage_0.png

Many thanks in advance! -- Brent

Labels (2)
0 Kudos
1 Reply

Could be done with custom swql, would need case logic where if the object type is a undp monitor then the link would point to your summary page.   I haven't had a need to make a query for what you are asking but it wouldn't be terribly difficult if you load up swql studio and look around to see what you need to do to make it work

SELECT c.Name, si.ShortDescription, c.EntityDisplayName as [Object], c.DetailsUrl as [_linkfor_Name]

FROM Orion.ContainerMembers c

join Orion.StatusInfo si on si.statusid=c.status

WHERE c.containerid like '${id}'

order by name

It'll need something like

case when c.EntityDisplayName = 'undp' then '/orion/...whatever the url you need is' end as [_linkfor_Object]

But I don't know what name UNDP pollers have inside a group and don't have convenient access to a lab to test it right now.

- Marc Netterfield, Github