Re: acpitz critical temperature is too high

2012-06-19 Thread Robert Connolly
Another idea I forgot to mention is to use syslog, and pipe to scripts. This would pretty much solve any issues with temperature and battery monitoring... run every syslog of sensorsd and apmd through a script, and forget using sensorsd for event commands.

Re: acpitz critical temperature is too high

2012-06-19 Thread Mike Larkin
On Mon, Jun 18, 2012 at 05:54:31PM -0700, Robert Connolly wrote: I want to initiate a shutdown if the temperature gets too high. I have been This already happens if the temperature gets too high. See recent threads on misc@ about this. using sensorsd(8), but sensorsd(8) only reacts once to

Re: acpitz critical temperature is too high

2012-06-19 Thread David Diggles
I think one problem with using syslog triggers is opening op the risk for DOS attack if someuser or some internet connection into a service finds a way to trick syslog to print strings, to.. shutdown a server. On Mon, Jun 18, 2012 at 11:36:46PM -0700, Robert Connolly wrote: Another idea I

Re: acpitz critical temperature is too high

2012-06-19 Thread Artturi Alm
2012/6/19 Robert Connolly robertconnolly1...@gmail.com sensorsd(8)'s low goes in the other direction. If I set low to 60C, it will go off if the CPU is running at 50C. Sensorsd(8) isn't made for such fine control as some of us would like. If the battery is low, we want the sensor to alert

Re: acpitz critical temperature is too high

2012-06-19 Thread Robert Connolly
It didn't occur to me to set up sensorsd(8) this way, although it makes perfect sense now. This would also work well for battery monitoring. Thank you On Tue, Jun 19, 2012 at 7:11 AM, Artturi Alm artturi@gmail.com wrote: 2012/6/19 Robert Connolly robertconnolly1...@gmail.com

Re: acpitz critical temperature is too high

2012-06-18 Thread Mike Larkin
On Mon, Jun 18, 2012 at 06:35:58AM -0700, Robert Connolly wrote: Hello. During boot I see: acpitz0 at acpi0: critical temperature is 200 degC The acpitz(4) man page mentions that the system will power down if this critical temperature is reached. I assume this temperature is retrieved

Re: acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
I want to initiate a shutdown if the temperature gets too high. I have been using sensorsd(8), but sensorsd(8) only reacts once to the high (or low) event, leaving it up to the program/script to run timers to keep checking if the temperature gets worse. For my satisfaction, the timers would have

Re: acpitz critical temperature is too high

2012-06-18 Thread Artturi Alm
How about setting low to the warning level, and high to the shutdown level? That way you should be able to handle all 3 states w/o timers. below being normal, within where it notifies and steps down CPU and above where it does shutdown. 2012/6/19 Robert Connolly robertconnolly1...@gmail.com I

Re: acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
sensorsd(8)'s low goes in the other direction. If I set low to 60C, it will go off if the CPU is running at 50C. Sensorsd(8) isn't made for such fine control as some of us would like. If the battery is low, we want the sensor to alert us. If the temperature is low, we do not want to be alerted.