Mikel Lindsaar wrote:
> I've got a few (10) HP DL and BL servers running OpenBSD.
I think that's not narrowing it down much...
from memory, don't bother correcting me if I'm wrong, the "DL" name
goes back to P3 class systems and is still used today for both
Xeon and AMD chips... i.e., completely unspecific question. So,
we'll take it as the completely general:
> Trying to find the best way to monitor [systems] for drive, psu failures etc.
"sysctl hw" for things like fans, PSs, etc.
bioctl(8) for supported disk arrays.
Stick 'em in /etc/daily.local, and read your daily output reports.
it's amazing what kind of info is in many modern (and not so
modern) machines.
$ sysctl hw
hw.machine=i386
hw.model=Intel Pentium III ("GenuineIntel" 686-class)
hw.ncpu=2
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0,wd0,cd0,fd0
hw.diskcount=4
hw.sensors.ami0.drive0=online (sd0), OK
hw.sensors.admtemp0.temp0=33.00 degC (External)
hw.sensors.admtemp0.temp1=42.00 degC (Internal)
hw.sensors.lmenv0.temp1=41.00 degC (Internal)
hw.sensors.lmenv0.fan0=1985 RPM
hw.sensors.lmenv0.volt0=2.51 VDC (+2.5Vin)
hw.sensors.lmenv0.volt1=1.69 VDC (Vccp)
hw.sensors.lmenv0.volt2=1.50 VDC (+Vcc)
hw.sensors.lmenv0.volt3=5.03 VDC (+5Vin/Vcc)
hw.sensors.lmenv0.volt4=12.00 VDC (+12Vin)
hw.sensors.lmenv0.volt5=1.69 VDC (Vccp)
hw.sensors.lmenv0.volt6=0.86 VDC (AIN1)
hw.sensors.lmenv1.temp1=40.00 degC (Internal)
hw.sensors.lmenv1.fan0=661 RPM
hw.sensors.lmenv1.volt0=1.00 VDC (+2.5Vin)
hw.sensors.lmenv1.volt1=1.49 VDC (Vccp)
hw.sensors.lmenv1.volt2=3.30 VDC (+Vcc)
hw.sensors.lmenv1.volt3=3.33 VDC (+5Vin/Vcc)
hw.sensors.lmenv1.volt4=12.00 VDC (+12Vin)
hw.sensors.lmenv1.volt5=1.79 VDC (Vccp)
hw.sensors.lmenv1.volt6=2.48 VDC (AIN1)
hw.sensors.admtemp1.temp0=35.00 degC (External)
hw.sensors.admtemp1.temp1=41.00 degC (Internal)
hw.cpuspeed=865
hw.vendor=Dell Computer Corporation
hw.product=Precision WorkStation 420 MT
hw.serialno=5MPQ601
hw.uuid=44454c4c-4d96-1050-8051-b5c04f363031
hw.physmem=536043520
hw.usermem=536027136
(that would be "not so modern").
I'm kinda wondering about that lmenv1.fan0, looks a little slow.
Kinda makes me wish I took my own advice here so I'd have some
history to look back at. :)
bioctl -hi sd0 tells me this:
Volume Status Size Device
ami0 0 Online 33.7G sd0 RAID1
0 Online 33.9G 0:0.0 noencl <FUJITSU MAJ3364MC 5508>
1 Online 33.9G 0:1.0 noencl <FUJITSU MAJ3364MC 5509>
so all is good there.
> Looking at the various sites, the best option seems to be trying to
> get the HP Linux health drivers working to generate traps, but don't
> know if trying to do this is pie in the sky.
let's see...linux drivers accessing hardware info on OpenBSD...
sounds a little unlikely, don'tcha think? I'm really wondering which
"various sites" suggested trying to get the Linux drivers running on
OpenBSD...
Nick.