Commit Graph
16 Commits
Author SHA1 Message Date
Merlin Hughes 1527dd254f MH: Put sanity limits in the Round Robin Database upon creation:
-25 <= voltage <= 25
  0 <= RPM <= 12000
  0 <= temp <= 250
  0 <= MHz
Prevents spurious sensor readings from skewing graphs (too much).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1566 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-23 14:51:54 +00:00
Merlin Hughes 34626e2061 Fix support for some chips, add support for some chips.
-mh


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1476 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-31 17:29:23 +00:00
Merlin Hughes 8d29ce56b5 and then close the file
-mh


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1475 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-31 14:27:49 +00:00
Merlin Hughes 0434eba357 Update to support logging of the load average to the round-robin
database.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1474 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-31 14:20:29 +00:00
Merlin Hughes 24d3dbac9c Fix RRD support to constrain sensors labels to [0-9A-Za-z_].
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1473 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-31 12:58:32 +00:00
Merlin Hughes ae252b5901 mh: initialize ret to 0, thanks to Christian Hammers <ch@westend.com> for
noticing


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1389 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-10 17:56:16 +00:00
Merlin Hughes 1fb2fb31cb mh: sensord is only built if PROG_EXTRA:=sensord is specified.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1359 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-28 14:26:07 +00:00
Merlin Hughes da09ec0eba Added RRD support to sensord; can automatically create
/configure database based on detected/configured sensors,
logs libsensors-processed readings to the database, has a
command-line option for generating a basic rrdcgi script.
Removed sensord from all target because it has an external
dependency on librrd.

This just makes using RRD with sensors easier; you don't
need to figure out what sensors are available and configure
the database with computations that are already in
sensors.conf.

To install:
make install-prog-sensord

To create and start logging to database:
sensord --rrd-file /var/log/sensord.rrd

To create a CGI script:
sensord --rrd-file /var/log/sensord.rrd \
  --rrd-cgi /var/www/sensord \
  > /usr/lib/cgi-bin/sensord.cgi

man sensord for more details.

Kudos to Mark for doing the hard work ;}

-- merlin


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1357 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-28 00:21:49 +00:00
Merlin Hughes 1d1859040b Added -p/--pid-file option to write a PID file for the daemon and
-d/--debug option to allow unwanted information to be more easily
suppressed. Kicked version to 0.5.0. -- merlin@merlin.org


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1024 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-11 18:51:24 +00:00
Merlin Hughes b5cce87d51 missed IN6 from w83782d.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@836 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-07 16:31:05 +00:00
Merlin Hughes bc41905095 Updated so that sensord will syslog alarm occurrences at level
ALERT so you can pick them up in syslog.conf and fire them to
the console, etc. Added support for scanning only for alarms
in addition to scanning regular values, etc. Updated the man
file to reflect the new options, etc. Operation as "sensors"
command is undocumented.
-- merlin


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@835 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-07 16:23:17 +00:00
Merlin Hughes ae68e2238c Made a few changes to nonstandard sensord:
. added support for via686a and other new chips
. added support for alarms and beeps
. updated to log through syslog instead of a custom logfile
. updated so when run as "sensors" (ln -s sensord sensors) it
  mimics the existing sensors command except for formatting
. modularized a bit
Yet to do:
. complete support for alarm checking without sensor logging
. signal alarms through syslog level ALERT
. add final support for multivalued alarms
. check up on some questions about existing sensors command
. update manual page inc. notes on syslog usage
. test more fully
-- merlin


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@828 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-02 22:49:34 +00:00
Mark D. Studebaker f16d591d45 (mds) -Wall cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@732 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-07 03:16:03 +00:00
Frodo Looijaard 7e0cd89eec Fixed a small bug - return code not returned.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@703 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-23 21:32:31 +00:00
Frodo Looijaard 01bad38253 Added DESTDIR Makefile variable
Set DESTDIR if you want to install at some other place then where you
will run everything from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@675 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:52:28 +00:00
Merlin Hughes 8e5830460f (Merlin) Added simple sensord sensory logging daemon. Not installed by
default. Now uses libsensors. Ripped the display formatting code from
sensors (with some modification) but needless to say I've only tested
a single chip. Doesn't support alarms yet. With a bit of work, could
share the display formatting code with sensors so just one source needs
updating. Compiles on my machine.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@661 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-03 00:48:25 +00:00