View Single Post
  #1   (View Single Post)  
Old 25th November 2011
mehaj mehaj is offline
Port Guard
 
Join Date: Feb 2010
Posts: 17
Default sensorsd configuration

hi,
I’m trying to configure sensorsd deamon to execute sms alert.
To test the deamon I began by executing simple commande, like “shutdown” or writing in file.

Code:
# Chipset temperature (degrees Celsius)
hw.sensors.nsclpcsio0.temp0:high=4C:command= shutdown -r now
Code:
# Chipset temperature (degrees Celsius)
hw.sensors.nsclpcsio0.temp0:high=4C:command= echo "this is my alert" > "hello"
These commande are executed but not in real time ,not automatically ,it takes several secondes.
It is normal ?

For sms alert , I call the command as following , but nothing happens , however my perl script is working fine.
Code:
Chipset temperature (degrees Celsius)
hw.sensors.nsclpcsio0.temp0:high=4C:command= perl root/msg.pl
Reply With Quote