summaryrefslogtreecommitdiff
path: root/usr.sbin/sensorsd/sensorsd.c
AgeCommit message (Expand)Author
2015-06-15get_val() already frees the buffer passed to it so we don't need toTodd C. Miller
2015-06-02Don't leak value returned by cgetstr(). OK deraadt@Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-06-29If you want <sys/queue.h>, you need to include it. Don't assume thatTheo de Raadt
2012-09-20add more sensor types to sensor framework.Yojiro Uo
2011-09-16add lacked cases of sensors value, and fix orders.Yojiro Uo
2011-09-16apply following changes to sensor framework:Yojiro Uo
2010-04-21Add the "angle" sensor, measured in degrees; from Luis PintoTheo de Raadt
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
2009-08-14SENSOR_WATTS; ok canacar deraadt kettenis henningConstantine A. Murenin
2008-06-14When there are no sensors, don't run the hotplugging consistency check,Constantine A. Murenin
2008-06-11When a hotplugged sensordev appears, load its configuration individually,Constantine A. Murenin
2008-06-11* Remove the exit condition on no sensors at start-up, since we now supportConstantine A. Murenin
2008-06-11Support hotpluggable sensors (e.g. the post-4.2 ipmi0 created by theConstantine A. Murenin
2008-05-12Error out with usage line if additional arguments are given after thePierre-Yves Ritschard
2008-03-16s/273.16/273.15/g, then refactor the formulae to ensure that theConstantine A. Murenin
2008-03-16Reduce the number of unnecessary time(3)/gettimeofday(2) calls, and make sureConstantine A. Murenin
2008-03-15explicitly report whether the lower or upper limit is exceeded; ok sthen@ cku...Constantine A. Murenin
2008-03-14Add a "%l" token to signal whether a sensor value is in or out of bounds,Chris Kuethe
2008-03-13Allow a program invoked on state change to receive sensor status. PerhapsChris Kuethe
2007-12-05log positive events ('OK', 'within') with LOG_INFO instead of LOG_ALERT;Constantine A. Murenin
2007-11-28add options to specify the check and report intervals. ok deraadtTed Unangst
2007-08-14sync printing w/ sysctl(8) and add missing sensor types to conf parser;Constantine A. Murenin
2007-06-01Convert sensorsd to use two-level data-structures. This makes sensorsd beConstantine A. Murenin
2007-05-30Major update to sensorsd.Constantine A. Murenin
2007-05-29Remove watch_cnt in preparation for my bigger patch that makes sensorsdConstantine A. Murenin
2007-05-29for sensorsd.conf entries, let's do matching by sensor type if maching by com...Constantine A. Murenin
2007-02-28do status dampening for OK status as well, i. e.Henning Brauer
2007-02-23add missing copyright; ConstantineTheo de Raadt
2007-01-06increase buffer size; ie. for hw.sensors.ipmi0.indicator0Theo de Raadt
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-18it appears some sensors flip duen to bugs or erroneous readings.Michael Shalayeff
2006-09-16sync printing w/ sysctl and also add missing sensor types to the conf parser;...Michael Shalayeff
2006-08-23allow monitoring sensors with their own status reporting such as ipmi or raid...Michael Shalayeff
2006-04-01when I initially hacked sensorsd, sensors started at hw.sensors.0 andHenning Brauer
2006-03-20add two missing function declarationsDavid Hill
2006-02-06don't error out but give a warning when sysctl()Moritz Jodeit
2006-01-31When sysctl(3) fails, check for ENOENT instead of ENXIO to findMoritz Jodeit
2005-08-04Support for SENSOR_INTEGER.Jonathan Gray
2005-08-03dlg did not test what he affects; enum clashTheo de Raadt
2005-06-03print negative values correctly; From: serge rasnikov <747500@gmail.com>Henning Brauer
2005-04-21spacingTheo de Raadt
2005-04-20fix buffer overrun introduced with my previous commit. Found and fixed byHans-Joerg Hoexer
2005-04-01spacingTheo de Raadt
2005-04-01sensorsd(8) execute command on exceeding limitsHans-Joerg Hoexer
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-04-11Fix accidental busy loop waiting for a second to pass. Also, renameOtto Moerbeek
2004-03-15add a default: case to the switch (sensor type) in the config file parserHenning Brauer
2004-02-07knf; jjy2+@pitt.eduTheo de Raadt
2004-01-08sync with sysctl/drivers + 0K == -273.15C; report grange; ok henningMarkus Friedl