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,911
  • 34
  • 121
  • 197

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
  • 197,159
  • 92
  • 443
  • 809