Menu

#4 pass arguments to alarm program

open
nobody
None
5
2003-09-12
2003-09-12
Anonymous
No

I would be nice to be able to pass arguments when you call a
program or script in case of alarm, for example "device name"
"current value" "max or min" "max or min value".

This way you can call a script that logs the alarm in syslog or
send an email to the administrator like "ksensors alarm! CPU
fan is 0 which is below the min of 1000. System shutdown
initiated".

My current alternative is to call sensors inside my script then
process the results to figure out what went wrong. While it's not
that hard, it's kindof redundant.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.