I'm trying to implement a power supply (and fan) monitoring script for a bunch of vintage DS25's that run Tru64 5.1B4. It will be executed remotely from Nagios so it needs to report the current status (i.e. good or bad) at the moment it is run.

I know for a fact that this platform is able to monitor this since an event is written in the kernel log when a power supply goes bad, but I'd rather not write a logfile or evm-based scrubber as this is not reliable for a passive monitoring script.

The only way I've found to do this is by running "sysconfig -q envmon" which should to the trick but this command ALWAYS returns a zero status for the power supplies, no matter their real state. I suspect it is the same for fans. I have not been able to find out if this is because this feature is not supported on the DS25, or if it's a bug within the envmon subsystem.