5

I'm trying to use Powershell to detect certain hardware failures.

Can Powershell hook into normal HP events/logs/alerts to detect if a drive failed?

makerofthings7
  • 8,821
  • 28
  • 115
  • 196

1 Answers1

5

Sure. Look up the "hpssacli" utility. You can parse the output.

But the HP management agents eliminate the need to roll-your-own. The server logs this, sends SNMP traps and can email you.

What's your ultimate goal?

ewwhite
  • 194,921
  • 91
  • 434
  • 799