Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20625

Re: Cisco UCS | Advice on configuring alerts

$
0
0

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

Screen Shot 2013-12-13 at 6.04.55 PM.png

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}

)


Viewing all articles
Browse latest Browse all 20625

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>