Sorry but I disagree completely
Anyone pull a power supply in your UCS and see if it alarms somewhere in the Solarwinds UCS summary page?
I did not and had to build a resource and alarm just for that. Also I found that the active fabric interconnect also responded as the ${nodeid} for the alert so I had to add a SQL subselect to get the actual alarming component.
Hopefully everyone proves me wrong and the time was wasted.
Here's the alert
and the added SQL in the email action:
${SQL:SELECT c.name FROM npm_ucschassis c inner join[dbo].[NPM_UCSPsus]p on p.parentid=c.id where p.parenttype = 0 and p.parentid = ${ParentID}}
And here's my custom query resources added to the UCS summary page:
SELECT n.caption,p.Power, p.Status, p.Model, p.Name FROM Orion.NPM.UCSPsus p
inner join Orion.npm.UCSFabrics u on p.parentid=u.id
inner join Orion.Nodes n on u.nodeid=n.nodeid
where p.parenttype = 1 and p.status <> 'operable'
UNION ALL
(
SELECT n.caption,f.Power, f.Status, f.Model,f.Name FROM Orion.NPM.UCSfans f
inner join Orion.npm.UCSFabrics u on f.parentid=u.id
inner join Orion.Nodes n on u.nodeid=n.nodeid
where f.parenttype = 1 and f.status <> 'operable'
)
--------&---------
SELECT n.caption,p.Power, p.Status, p.Model,p.Name FROM Orion.NPM.UCSPsus p
inner join Orion.npm.UCSFabrics f on p.parentid=f.id
inner join Orion.Nodes n on f.nodeid=n.nodeid
where parenttype = 1 and
(
hostnodeid = ${nodeid} or
f.nodeid = ${nodeid}
)
--------&---------
SELECT n.caption,p.Power, p.Status, p.Model,p.Module,p.Name FROM Orion.NPM.UCSfans p
inner join Orion.npm.UCSFabrics f on p.parentid=f.id
inner join Orion.Nodes n on f.nodeid=n.nodeid
where parenttype = 1 and
(
hostnodeid = ${nodeid} or
f.nodeid= ${nodeid}
)