I decided to use sensorsd for the first time and am a little confused as
to why it thinks I only have two (2) sensors when I have asked it to
watch
four (4) items. Any ideas would be great.

The output from sysctl hw is the following
hw.disknames=sd0,cd0
hw.diskcount=2
hw.sensors.cpu0.temp0=34.00 degC
hw.sensors.mpi0.drive0=online (sd0), OK

I put this in my /etc/sensorsd.conf
hw.disknames:command=/etc/sendalert %t %n %2
hw.diskcount:command=/etc/sendalert %t %n %2
hw.sensors.cpu0.temp0:high=60C:command=/etc/sendalert %t %n %2
hw.sensors.mpi0.drive0:command=/etc/sendalert %t %n %2

After firing up sensorsd I check the log file and see it says it only
sees two ? Will it only work if the word 'sensors' exists?

Jan  6 09:17:22 dc-fw1 sensorsd[12648]: startup, system has 2 sensors
Jan  6 09:18:22 dc-fw1 sensorsd[23326]: cpu0.temp0: within limits: 34.00
degC
Jan  6 09:18:22 dc-fw1 sensorsd[23326]: mpi0.drive0: online, OK

Reply via email to