Operating System - HP-UX
1825906 Members
3475 Online
109689 Solutions
New Discussion

Detect alert light status?

 
Drew Myers
Occasional Contributor

Detect alert light status?


Hi all,

Working remotely, I don't have physical access to a lot of the servers I administer, but it would be helpful if I could detect alert light status via script. Is this possible?

The light to which I'm referring is the red LED on the front bezel of most HP servers. When a hardware error is detected, the light will flash.

Thanks,

Drew
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Detect alert light status?

Shalom,

Your GSP/iLo card has an interface that permits you to see the light status. The VSP function does so.

Its conceivable possible to to script this.

Log into the console, ctrl-b and then see how to display it. Then you know what you need to script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Nelson
Honored Contributor

Re: Detect alert light status?

The light is on rarely unless there is a HW failure. Just about all HW failures are reported via EMS if it is configured correctly.

This would leave you with a manual monthly or bi-monthly check to VFP and clear the logs. Or even once a year if you do not reboot on a regular basis.
As mentioned you may be able to script the telnet and command execution with expect or aspect to review the VFP. Kind of a pain. Is it worth the effort ?

expect port: http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/