I'm attempting to create a custom table which checks for the last update from a Poller,
the idea is to have it so that any poller not updated within the last minute, for it to flag up,
i am attempting here for when minutes > 0 for the writing to show in red to highlight the issue where if not,
then colour remains green,
This currently does not work when attempting
SELECT
ServerName
, [E].ServerType
, [E].Elements AS [Monitored Elements]
, [E].Nodes AS [Monitored Nodes]
, [E].Interfaces AS [Monitored Interfaces]
, [E].Volumes AS [Monitored Volumes]
, [E].Pollers AS [Monitored UnDP]
, MinuteDiff([E].KeepAlive, GETUTCDATE())
,CASE
WHEN MinuteDiff([E].KeepAlive, GETUTCDATE()) = 0 THEN 'color:green;'
ELSE 'color:red;'
END AS [_StyleFor_MinuteDiff([E].KeepAlive, GETUTCDATE())]
FROM Orion.Engines AS [E]
Any advice would be greatly appreciated