DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 25th November 2011
mehaj mehaj is offline
Port Guard
 
Join Date: Feb 2010
Posts: 17
Thanked 0 Times in 0 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with PF NAT configuration scrummie02 OpenBSD Security 12 10th November 2011 04:45 AM
PF NAT configuration help ikevinjpdev OpenBSD Security 0 7th August 2010 04:41 PM
PF Configuration for newbie slakic OpenBSD Security 1 20th August 2009 02:35 PM
ssh and PuTTY Configuration rtwingfield FreeBSD Security 4 8th June 2009 09:55 PM
k3b, configuration. maxrussell FreeBSD Ports and Packages 4 3rd March 2009 04:23 AM


All times are GMT. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick