onfiguration is very similar to your own and
worked a few months ago when I set it up.
/etc/sensorsd.conf:
hw.sensors.upd0.indicator1:command=/etc/sensorsd/ups-replacing %2
hw.sensors.upd0.indicator4:command=/etc/sensorsd/ups-acpresent %2
hw.sensors.upd0.indicator5:command=/etc/sensorsd/ups-overlo
Hi,
I was originally investigating apcupsd to monitor my UPS. However, it's
not working "out of the box", requiring a custom kernel / or disabling
my usb keyboard (which I use).
So I thought I would investigate sensorsd framework to see what it could do.
It's working t
Steve,
It's because sensord polls. I've decreased the check interval from 20 to
5, but it will still miss short outages. See sensorsd(8). An SNMP trap
is probably what you really want, but your UPS will need to support
that.
I hope that helps.
Cheers,
Jon
Hi Steve,
It's because sensord polls. I've decreased the check interval from 20 to
5, but it will still miss short outages. See sensorsd(8). An SNMP trap
is probably what you really want, but your UPS will need to support
that.
I hope that helps.
Cheers,
Jon
> I am working on setting up sensorsd so that i can automatically turn on
> > my display when docking my laptop, but on doing so sensorsd does not
> > execute my shell script. In syslogd sensord shows the sensors being
> > tripped so i am confused on why the shell script wil
On 2019-07-25, cheddar-cheeze wrote:
> I am working on setting up sensorsd so that i can automatically turn on
> my display when docking my laptop, but on doing so sensorsd does not
> execute my shell script. In syslogd sensord shows the sensors being
> tripped so i am confused on w
I am working on setting up sensorsd so that i can automatically turn on
my display when docking my laptop, but on doing so sensorsd does not
execute my shell script. In syslogd sensord shows the sensors being
tripped so i am confused on why the shell script will no execute.
#/etc/sensorsd.conf
; > welcome. This is my config: /etc/sensorsd.conf:
> >
> > acpiac0.indicator0:command=/etc/sensorsd/ac_power %2
>
> I am using:
>
> hw.sensors.acpiac0.indicator0:low=1:command=/etc/sensorsd/acpiac %2 %3 %4
>
> The "%3 %4" is just useful for debuggi
acpiac0.indicator0:command=/etc/sensorsd/ac_power %2
I am using:
hw.sensors.acpiac0.indicator0:low=1:command=/etc/sensorsd/acpiac %2 %3 %4
The "%3 %4" is just useful for debugging, you don't need it.
But are you sure you can omit "hw.sensors."?
The sensorsd.conf(5)
Hi all,
I'm tweaking how my laptop behaves depending on whether it is pluggde
into AC or not. Any hints or alternative suggestions are welcome.
This is my config:
/etc/sensorsd.conf:
acpiac0.indicator0:command=/etc/sensorsd/ac_power %2
and this is the script:
#!/bin/sh
ec
een On/Off with a user limit of
`low=0:high=0` should definitely be triggered as reported by the
prior users (http://marc.info/?l=openbsd-misc&m=144526769005460&w=2).
http://BXR.SU/OpenBSD/usr.sbin/sensorsd/sensorsd.c#check_sdlim
370if (sensor.flags & SENSOR_FINVALID)
371
I've tried to change low=1:high=2 to low=0:high=0
but I haven't got *Off* current state for this sensor from sensord:
- hw.sensors.upd0.indicator2=On (ACPresent), OK
Even for AC disconnected sensord repors that ACPresent is *On*,
however when I look for
- sysctl hw.sensors.upd0.indicator2
it r
25 12:59:27 gw sensorsd[2261]: upd0.percent1: 0.00%, UNKNOWN
Feb 25 13:45:43 gw sensorsd[13167]: upd0.percent1: 0.00%, UNKNOWN
On Wed, Feb 24, 2016 at 3:38 AM, lilit-aibolit wrote:
> On 03/22/2015 05:44 PM, T. Ribbrock wrote:
>>
>> Then, I re-applied power, but that, too, was never flagged by sensorsd.
>> For some reason, it looks like sensorsd only ever detects a status change
>> (for these
On 03/22/2015 05:44 PM, T. Ribbrock wrote:
Then, I re-applied power, but that, too, was never flagged by
sensorsd. For some reason, it looks like sensorsd only ever detects a
status change (for these rules) when it gets started - but not
afterwards. Regards, Thomas
Have you succeed with
On 19 October 2015 at 11:31, David Higgs wrote:
> On Mon, Oct 19, 2015 at 11:11 AM, Maxim Khitrov wrote:
>> Also, upd always sets sensor status to "OK," so sensorsd never
>> triggers commands for status changes; we have to use low/high limits
>> until this is fixe
t; hasn't yet been taught how to map specific indicator values to OK /
>> > WARN / CRITICAL status. Currently any value successfully read is
>> > marked OK.
>> >
>> > I'm working with tech@ and slowly writing diffs to improve these things.
>> >
>
perating parameters (and the output of %l). The upd(4) code
> > hasn't yet been taught how to map specific indicator values to OK /
> > WARN / CRITICAL status. Currently any value successfully read is
> > marked OK.
> >
> > I'm working with tech@ and slowly w
lly read is
> marked OK.
>
> I'm working with tech@ and slowly writing diffs to improve these things.
>
> --david
Resurrecting an old thread since I just ran into the same problem in
5.8. To summarize, upd(4) exposes some SENSOR_INDICATOR-type sensors
for attached UPSes, such as AC
On Sun, Mar 22, 2015 at 03:26:30PM +, Stuart Henderson wrote:
> On 2015-03-22, T. Ribbrock wrote:
> > What I cannot seem to get to work is that sensorsd *reacts* to these
> > changes. Based on the examples in the thread mentioned above, I've
> > created a small sc
On 2015-03-22, T. Ribbrock wrote:
> What I cannot seem to get to work is that sensorsd *reacts* to these
> changes. Based on the examples in the thread mentioned above, I've
> created a small script "/etc/sensorsd/upd.sh" that looks as follows:
>
> # ca
Hi all,
one of the remaining "kinks in the cable" that still need working out
after me updating to OpenBSD 5.6 is the fact that I can no longer use
apcupsd to monitor the "APC Back-UPS CS 500" that is connected to the
server via USB. From what I have gathered so far, one
On Mon, Dec 8, 2014 at 3:45 PM, David Higgs wrote:
> I'm working with tech@ and slowly writing diffs to improve these things.
>
> --david
>
I saw that. Thanks!
Tim.
On Mon, Dec 8, 2014 at 3:37 PM, trondd wrote:
> On Mon, Dec 8, 2014 at 3:23 PM, trondd wrote:
>> On Mon, Dec 8, 2014 at 11:47 AM, David Higgs wrote:
>>>
>>>
>>> sysctl(8) will display Off if the value is zero, and On for nonzero.
>>> So, using the "closed interval" rule above, you should use "hi
On Mon, Dec 8, 2014 at 3:23 PM, trondd wrote:
> On Mon, Dec 8, 2014 at 11:47 AM, David Higgs wrote:
>
>>
>> sysctl(8) will display Off if the value is zero, and On for nonzero.
>> So, using the "closed interval" rule above, you should use "high=0"
>> for indicators that you consider in "good" st
On Mon, Dec 8, 2014 at 11:47 AM, David Higgs wrote:
>
> sysctl(8) will display Off if the value is zero, and On for nonzero.
> So, using the "closed interval" rule above, you should use "high=0"
> for indicators that you consider in "good" state when Off (i.e.
> ShutdownImminent), and "low=1" for
quot;Off is below On"
> - Although I use "low=1:high=2", I get "On" for %3 (low limit) as well
> as for %4 (high limit)
> - Reading sensorsd.conf(5):
> "If the limits are crossed or if the status provided by the driver
> changes, sensorsd(8)'s al
ot;On" for %3 (low limit) as well
as for %4 (high limit)
- Reading sensorsd.conf(5):
"If the limits are crossed or if the status provided by the driver
changes, sensorsd(8)'s alert functionality is triggered and a command,
if specified, is executed"
If limits are crosse
hig...@gmail.com (David Higgs), 2014.11.28 (Fri) 15:43 (CET):
> On Fri, Nov 28, 2014 at 2:45 AM, Marcus MERIGHI wrote:
> > What I have now:
> >
> > $ getcap -a -f /etc/sensorsd.conf
> > hw.sensors.upd0.indicator0:low=1:high=2:command=/etc/sensorsd/upd.sh \
On Fri, November 28, 2014 9:43 am, David Higgs wrote:
> On Fri, Nov 28, 2014 at 2:45 AM, Marcus MERIGHI
> wrote:
>> What I have now:
>>
>> $ getcap -a -f /etc/sensorsd.conf
>> hw.sensors.upd0.indicator0:low=1:high=2:command=/etc/sensorsd/upd.sh \
>> %l %n
On Fri, November 28, 2014 2:45 am, Marcus MERIGHI wrote:
> j...@entropicblur.com (Joe Gidi), 2014.11.27 (Thu) 16:41 (CET):
>> I just spent some more time poking at this and I'm still unable to get
>
> So did I...
>
>> sensorsd to recognize upd state changes. T
nal Message-
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
> David Higgs
> Sent: Friday, November 28, 2014 9:43 AM
> To: misc@openbsd.org
> Subject: Re: sensorsd, upd, and state changes
>
> Do you mind saying what type of USB you have, and wh
On Fri, Nov 28, 2014 at 2:45 AM, Marcus MERIGHI wrote:
> What I have now:
>
> $ getcap -a -f /etc/sensorsd.conf
> hw.sensors.upd0.indicator0:low=1:high=2:command=/etc/sensorsd/upd.sh \
> %l %n %s %x %t %2 %3 %4
> hw.sensors.upd0.indicator1:low=1:high=2:command=/etc/sensorsd/upd.
j...@entropicblur.com (Joe Gidi), 2014.11.27 (Thu) 16:41 (CET):
> I just spent some more time poking at this and I'm still unable to get
So did I...
> sensorsd to recognize upd state changes. This is a bit of a frustrating
> regression from my point of view, since I can no long
I just spent some more time poking at this and I'm still unable to get
sensorsd to recognize upd state changes. This is a bit of a frustrating
regression from my point of view, since I can no longer use apcupsd unless
I disable uhidev in the kernel.
Does anyone have a working ex
ibutes set in sensorsd.conf per the Undeadly example.
>>
>> Nov 23 10:58:08 microserver sensorsd[6250]: upd0.indicator2: exceeds
>> limits: On is below On
>> Nov 23 10:59:54 microserver sensorsd[12047]: upd0.indicator2: exceeds
>> limits: On is below On
>> No
j...@entropicblur.com (Joe Gidi), 2014.11.23 (Sun) 17:19 (CET):
> Just after I sent this, I happened to notice these lines in
> /var/log/messages. These came from the tests with the "low=1:high=2"
> attributes set in sensorsd.conf per the Undeadly example.
>
> Nov 23 10:5
Just after I sent this, I happened to notice these lines in
/var/log/messages. These came from the tests with the "low=1:high=2"
attributes set in sensorsd.conf per the Undeadly example.
Nov 23 10:58:08 microserver sensorsd[6250]: upd0.indicator2: exceeds
limits: On is below On
Nov 2
Hi Marcus,
Thanks for the reply. Unfortunately, the "low=1:high=2" doesn't seem to
work for indicator2. When I start sensorsd I see an initial event logged
as the status goes from undefined to OK, but no further events as I
unplug/plug the UPS. I tried monitoring indicator0 as
city), OK
> hw.sensors.upd0.percent1=100.00% (FullChargeCapacity), OK
>
> So far, so good. Now, I'd like to configure sensorsd to monitor the device
> and invoke a script when the power goes out. I have this line in
> sensorsd.conf:
>
> hw.sensors.upd0.indicator2:comman
(ACPresent), OK
hw.sensors.upd0.indicator3=On (BatteryPresent), OK
hw.sensors.upd0.indicator4=Off (ShutdownImminent), OK
hw.sensors.upd0.percent0=79.00% (RemainingCapacity), OK
hw.sensors.upd0.percent1=100.00% (FullChargeCapacity), OK
So far, so good. Now, I'd like to configure sensorsd to monitor the
Delay can be due to a limitations of sensorsd(8):
CAVEATS
Certain sensors may flip status from time to time. To guard against
false reports, sensorsd implements a state dumping mechanism. However,
this inevitably introduces an additional delay in status reporting and
command
wrote:
> Hello,
>
> I'm trying to use sensorsd to shutdown my Thinkpad T410 laptop when
> the battery reaches the "low capacity" level. However, when I add the
> line shown below to sensorsd.conf the laptop always shutdown within a
> couple of minutes of booting regardles
Hello,
I'm trying to use sensorsd to shutdown my Thinkpad T410 laptop when
the battery reaches the "low capacity" level. However, when I add the
line shown below to sensorsd.conf the laptop always shutdown within a
couple of minutes of booting regardless of the current battery leve
Hello.
I'm not a proficient shell script writer, so I would like advice
and criticism for my sensorsd(8) temperature script.
In particular, I would like the "above" email to root to include helpful
information that would help explain why the temperature went to critical.
Anything
On Sat, Jun 16, 2012 at 10:24:02PM -0700, Robert Connolly wrote:
> Hello.
>
> The acpiac(4) man page mentions that the AC power source status can be
> monitored by sensorsd(8), but sensorsd(8) does not monitor this sensor as
> far as I know. apmd(8) does however.
>
> Could t
Hello.
The acpiac(4) man page mentions that the AC power source status can be
monitored by sensorsd(8), but sensorsd(8) does not monitor this sensor as
far as I know. apmd(8) does however.
Could the acpiac(4) man page be reworded to reflect this?
Thanks
On 2012-06-08, Robert Connolly wrote:
> From /etc/sensorsd.conf (it's set to 51C for testing purposes):
> hw.sensors.km0.temp0:high=51C:command=/etc/sensorsd/cpu-temp.sh %l %x %t %2
> %3 %4
Looks like a shell problem not a sensorsd one; I guess you probably
want some " ar
Hello.
I have some problems with the tokens used in sensorsd.conf.
>From /etc/sensorsd.conf (it's set to 51C for testing purposes):
hw.sensors.km0.temp0:high=51C:command=/etc/sensorsd/cpu-temp.sh %l %x %t %2
%3 %4
hw.sensors.acpitz0.temp0:high=75C:command=/etc/sensorsd/cpu-temp.sh %l %x
I think I was expecting the wrong thing from
sensorsd -- thanks for shedding light on what's going on. I'll use a shell
script command on watthour3 to check the other vals through sysctl directly,
as you suggest.
I wish that hw.sensors.acpibat0.raw0 changed state from OK to something else
On 14 November 2010 13:03, mark hellewell wrote:
> Hi,
>
> I'm configuring sensorsd to conditionally shutdown -- based on Wh of charge
> left in laptop battery and whether or not the computer is plugged in -- and
> it seems that sensorsd might have a bit of a blind s
Hi,
I'm configuring sensorsd to conditionally shutdown -- based on Wh of charge
left in laptop battery and whether or not the computer is plugged in -- and
it seems that sensorsd might have a bit of a blind spot when it comes my
available sensors. After reporting the initial states, no
On 6 March 2010 08:26, Tomas Bodzar wrote:
> Hi all,
>
> I set sensorsd and sensorsd.conf this way :
>
> # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $
>
> #
> # Sample sensorsd.conf file. See sensorsd.conf(5) for details.
> #
>
> # +5 voltage (v
Thx. I will prepare some more complicated "creatures" :-)
On Sat, Mar 6, 2010 at 5:09 PM, Joachim Schipper
wrote:
> On Sat, Mar 06, 2010 at 02:26:28PM +0100, Tomas Bodzar wrote:
>> Hi all,
>>
>> I set sensorsd and sensorsd.conf this way :
>>
>> # $OpenB
On Sat, Mar 06, 2010 at 02:26:28PM +0100, Tomas Bodzar wrote:
> Hi all,
>
> I set sensorsd and sensorsd.conf this way :
>
> # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $
> # Monitor laptop battery for remaining capacity
> hw.sensors.acpibat0.watthour3:lo
Hi all,
I set sensorsd and sensorsd.conf this way :
# $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $
#
# Sample sensorsd.conf file. See sensorsd.conf(5) for details.
#
# +5 voltage (volts)
#hw.sensors.lm0.volt3:low=4.8V:high=5.2V
# +12 voltage (volts)
#hw.sensors.lm0.volt4:low
-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Alexander Polakov
Sent: Wednesday, January 06, 2010 4:11 PM
To: misc@openbsd.org
Subject: Re: Sensorsd
2010/1/6, Morris, Roy :
> Ok, figured that might be what it was! Thanks. Too bad
2010/1/6, Morris, Roy :
> Ok, figured that might be what it was! Thanks. Too bad it
> would be nice to know if the disk count changed ie. someone
> plugged in a USB key.
You can use hotplugd(8) for that.
-Original Message-
From: Theo de Raadt [mailto:dera...@cvs.openbsd.org]
Sent: Wednesday, January 06, 2010 3:45 PM
To: Morris, Roy
Cc: misc@openbsd.org
Subject: Re: Sensorsd
> I decided to use sensorsd for the first time and am a little confused
as
> to why it thinks I only have
> 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
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
Constantine A. Murenin wrote:
On 27/07/2009, Federico Giannici wrote:
I'm using for the first time sensorsd to monitor RAID controller status and
motherboard temperature. A script of mine is called that sends me an email.
System is OpenBSD 4.4 amd64.
The problem is the value of the %2 %
On 27/07/2009, Federico Giannici wrote:
> I'm using for the first time sensorsd to monitor RAID controller status and
> motherboard temperature. A script of mine is called that sends me an email.
> System is OpenBSD 4.4 amd64.
>
> The problem is the value of the %2 %3 and
I'm using for the first time sensorsd to monitor RAID controller status
and motherboard temperature. A script of mine is called that sends me an
email. System is OpenBSD 4.4 amd64.
The problem is the value of the %2 %3 and %4 tokens passed as arguments
to the command. I thought that
Hi Misc,
I put the following line in my sensorsd.conf file:
hw.sensors.acpibat0.raw0:command=/etc/sensorsd/bat_status %2
When the battery's laptop status change, bat_status program is
executed using param %2 (sensor's value can be: 0 when battery is
idle, 1 when battery is dischar
r words, for those sensors that provide the status themselves,
> > > the keywords "high" and "low" in sensorsd.conf have no effect. This
> > > limitation was removed at c2k7 [1], and the newest sensorsd in OpenBSD
> > > 4.1-current allows you to s
> limitation was removed at c2k7 [1], and the newest sensorsd in OpenBSD
> 4.1-current allows you to set your own limits for any sensor, and
> ignore the status that the sensor device itself provides.
>
> So if you need this functionality, you may wish to upgrade to OpenBSD
> 4.1-current
On Wednesdayen den 4 July 2007 04.17.30 you wrote:
> On 03/07/07, Per-Olov Sjvholm <[EMAIL PROTECTED]> wrote:
> > Hi Misc
> >
> >
> > I am probably missing something, but what..
> >
> >
> > sensorsd says in the syslog that the sensor is "
On 03/07/07, Per-Olov Sjvholm <[EMAIL PROTECTED]> wrote:
Hi Misc
I am probably missing something, but what..
sensorsd says in the syslog that the sensor is "within limits" even though
a "sysctl -a|grep sensor" shows that it is not.
Are there any known bugs? I
Hi Misc
I am probably missing something, but what..
sensorsd says in the syslog that the sensor is "within limits" even though
a "sysctl -a|grep sensor" shows that it is not.
Are there any known bugs? I have checked the list and cannot find anything
related to this... I
On 27/05/07, Steven <[EMAIL PROTECTED]> wrote:
Hello,
Last update (~2 weeks ago) and the one from last night result in
sensorsd shutting down my PC within 2 to 4 minutes after booting up.
Now /etc/sensorsd.conf has an entry in it that I added to safely
shut the computer down if the CPU ge
Hello,
Last update (~2 weeks ago) and the one from last night result in
sensorsd shutting down my PC within 2 to 4 minutes after booting up.
Now /etc/sensorsd.conf has an entry in it that I added to safely
shut the computer down if the CPU gets too hot. The only problem is
that sensorsd keeps
On Mar 24, 2007, at 5:27 PM, Constantine A. Murenin wrote:
You do not have a command specified on hw.sensors.4, so you should not
be expecting any emails to be sent when this sensor undergoes
transitions from one state to another.
I think the syntax of sensorsd.conf is rather obvious here -- yo
t; claim you are monitoring in sensorsd.conf (hw.sensors.3 in conf,
> hw.sensors.4 on log).
Sorry I didn't post the whole sensorsd.conf
hw.sensors.3:low=4.8V:high=5.2V:command=/bin/sh /etc/sensorsd/notify
# +12 voltage (volts)
hw.sensors.4:low=11.5V:high=12.55V
You do not have a command specif
log).
Sorry I didn't post the whole sensorsd.conf
hw.sensors.3:low=4.8V:high=5.2V:command=/bin/sh /etc/sensorsd/notify
# +12 voltage (volts)
hw.sensors.4:low=11.5V:high=12.55V
# Chipset temperature (degrees Celsius)
hw.sensors.7:high=35C
hw.sensors.9:low=3000
hw.sensors.10:low=3000
On 24/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
In /etc/sensorsd.conf
hw.sensors.3:low=4.8V:high=5.2V:command=/bin/sh /etc/sensorsd/notify
In /etc/sensorsd/notify
#!/bin/sh
/usr/bin/tail -n 25 /var/log/daemon | /usr/bin/grep sensorsd | /usr/
bin/grep exceed > /etc/senso
In /etc/sensorsd.conf
hw.sensors.3:low=4.8V:high=5.2V:command=/bin/sh /etc/sensorsd/notify
In /etc/sensorsd/notify
#!/bin/sh
/usr/bin/tail -n 25 /var/log/daemon | /usr/bin/grep sensorsd | /usr/
bin/grep exceed > /etc/sensorsd/`date +%m%d%y_%H%M`.log
/usr/bin/mail -s "Hardware Sensors
, the limits don't seems to work:
> >
> >$ sysctl hw.sensors.acpibat0.volt1
> >hw.sensors.acpibat0.volt1=7.96 VDC (current voltage), OK
> >$ tail -3 /etc/sensorsd.conf
> >hw.sensors.acpibat0.volt1:low=8V:high=9V
no matter what I set, sensorsd always says "within
not require boundary values specified (that otherwise will be ignored)
and simply trigger on status transitions.
However, volt0 and volt1 on acpibat never change status from an "OK",
so they will never be triggered in sensorsd, which may or may not be
desirable behaviour.
The followi
s.acpibat0.volt1=7.96 VDC (current voltage), OK
$ tail -3 /etc/sensorsd.conf
hw.sensors.acpibat0.volt1:low=8V:high=9V
#:command=/etc/sensorsd/shutdown "%2" "%3"
$ sudo sensorsd -d
^C
$ tail -1 /var/log/messages
Jan 12 18:25:24 trin sensorsd[15369]: hw.sensors.acpibat0.volt1: wi
ot;unknown"
> >or "invalid". that's why you are getting your mail.
>
> Allright, I see.
> The weird thing though is that:
> - it used to work
it used to accept invalid value as a valid temperature.
so it did not work (:
> - it _only_ happens once on sensorsd start
On Tue, Sep 26, 2006 at 03:08:52PM +0200, Antoine Jacoutot wrote:
> Hi.
re
> I have sensorsd running on a 4.0-current macppc.
> It always worked fine and when min/max values of a sensor are
> reached, a mail is sent to me.
> Recently, a problem happened: each time I start the
The weird thing though is that:
- it used to work
- it _only_ happens once on sensorsd startup, after that it works fine
as we can see 28c is not really even a valid temperature.
Indeed.
Thanks for the explanation.
--
Antoine
Hi.
I have sensorsd running on a 4.0-current macppc.
It always worked fine and when min/max values of a sensor are
reached, a mail is sent to me.
Recently, a problem happened: each time I start the sensorsd daemon
(either on boot up or manually), I get the following warning mail:
28.00 degC
On Mon, Jul 17, 2006 at 11:42:01PM -0300, Gustavo Rios wrote:
> Hey folks,
>
> I am running a Dell Precision Workstation, is it possible to have
> sensors working with such hardware? Any special consideration?
>
First, try 'sysctl hw.sensors'. If you get nothing (like on the Dell I
am using right
Hey folks,
I am running a Dell Precision Workstation, is it possible to have
sensors working with such hardware? Any special consideration?
Thanks in advance.
Thank you to those who responded! I can figure out sensorsd.conf now.
Also thank you to the developers who created such a simple way to
monitor the sensors. I've configured sensors on other operating systems
that have been a much greater hassle.
-
again. If CPU temp is hw.sensors.4, then sysctl hw.sensors.4
will tell you. Sensorsd is more for watching for threshholds and
boundary readings, rather than a real-time display of the current reading.
If you're programming, you can also use sysctl(3); it would be something
like sysctl({CTL
onitor your CPU temperature, in your
/etc/sensorsd.conf file, you could put something like:
hw.sensors.0:high=60C:\
:command=echo "%2 \(high=%4\)" | mail -s "[`hostname`] sensorsd WARNING \(CPU
Temp.\)" root
Regards,
--
Antoine
Hello. I have not used sensorsd on OpenBSD before, but am trying to
learn. I have read sensorsd(8) and sensorsd.conf(5) from OpenBSD 3.9
and the configuration looks very simple. However, i have a couple quick
questions:
The lines in sensorsd.conf start with "hw.sensors.N" (where N
On Mon, Jan 30, 2006 at 12:57:24PM +0800, John Wong wrote:
> after upgrade to 3.9beta/i386, sensorsd can not start
> when i start the sensorsd, it show the error message
>
> shell$: /usr/sbin/sensorsd
> sensorsd: sysctl: No such file or directory
Just fixed that in -current.
On Monday 30 January 2006 05:57, John Wong wrote:
> after upgrade to 3.9beta/i386, sensorsd can not start
> when i start the sensorsd, it show the error message
>
> shell$: /usr/sbin/sensorsd
> sensorsd: sysctl: No such file or directory
I see the same behaviour on snapshot fr
after upgrade to 3.9beta/i386, sensorsd can not start
when i start the sensorsd, it show the error message
shell$: /usr/sbin/sensorsd
sensorsd: sysctl: No such file or directory
what file or directory should i need?
shell$: cat /etc/sensorsd.conf
hw.sensors.0
Antoine Jacoutot skrev:
How can I make sensorsd or syslog to mail me this, without running a
parser every minute on /var/log/messages which looks overkill.
man 5 sensorsd.conf
/kami
Antoine Jacoutot wrote:
How can I make sensorsd or syslog to mail me this, without running a
parser every minute on /var/log/messages which looks overkill.
Answering to myself...
Allright, I had a check on sensorsd under current and it looks like in
3.8 I will be able to give a command to
Hi...
One quick stupid question. I'm looking for a way to get a mail when
sensorsd logs something to syslog. Is there an easy way to do this ?
For instance, today sensorsd reported the following :
Aug 27 15:27:21 mcp sensorsd[6314]: failure for hw.sensors.0:
46.40C/115.52F not within l
96 matches
Mail list logo