summaryrefslogtreecommitdiff
path: root/usr.sbin/sensorsd
AgeCommit message (Collapse)Author
2007-08-14sync printing w/ sysctl(8) and add missing sensor types to conf parser;Constantine A. Murenin
document how values are parsed in sensorsd.conf(5). ok deraadt@; man-page ok/help jmc@
2007-08-14Commentary in the examples section was wrong from the start, because it gaveConstantine A. Murenin
the impression that alerts are only issued when things go wrong, not when they come back to specification -- but this was never the case with sensorsd. Whilst here, also zip some useless examples, as we now have so many. Discussed with jmc@
2007-08-11add caveats section, documenting previously undocumented state dumping ↵Constantine A. Murenin
mechanism; ok jmc@ henning@
2007-08-11s/ and alerter// against previous: 'alerter' is not a standard word (yet),Constantine A. Murenin
even if it is present in certain dictionaries (it is). Also, it doesn't add that much to .Nd anyhow. Requested by jmc@
2007-08-10sync sensorsd.8: add my copyright; change NAME summary; fix some grammar;Constantine A. Murenin
fix description of when the command is executed (it was wrong from the start); say a few more words about automatic monitoring of all sensors that keep state. ok henning@
2007-08-10sync sensorsd.conf.5 with reality, including:Constantine A. Murenin
* add myself to the copyright; remove unneeded synopsis * invalid sensors can now be monitored as such (since c2k7) * manual boundaries for smart sensors are no longer ignored (since c2k7) * populate history with 4.1 and 4.2 additions * add caveats section documenting a long-standing misconception and a workaround some help jmc@; ok jmc@
2007-07-31something went wrong w/ previous;Jason McIntyre
2007-07-31document the -d option of sensorsd; input and ok from jmc@, deraadt@Robert Nagy
2007-06-05various grammar/text improvements;Jason McIntyre
2007-06-01Convert sensorsd to use two-level data-structures. This makes sensorsd beConstantine A. Murenin
more consistent with the current sensors framework, conserves some memory, and will make it easier to implement hotplugging and other nifty features in the future. This does not change any other functionality ATM. OK henning@, beck@.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30Major update to sensorsd.Constantine A. Murenin
Improves support for both 'smart' (those providing sensor status) and 'old-style' sensors. Due to re-design, the following improvements are now present and many flaws are now gone: == for smart sensors == * automatically monitor all sensors that provide status by themselves, with the possibility to ignore certain individual sensors or sensors of certain type (appropriate template for sensorsd.conf is included) * report actual sensor status as provided by the driver. Previously, WARN, CRITICAL and UNKNOWN statuses were considered the same, but now they are different and will be reported separately. This also improves readability of the log-files and consistency with sysctl output. * ability to ignore status provided by the driver with the 'istatus' keyword ("ignore automatic status" or "I set the status"), with the possibility to set your own settings for acceptable limits. Previously, it was not possible to set any kind of user limits for those sensors that had their own status facilities. == for old-style sensors == * previously, lm(4)-style fans that were flagged SENSOR_FINVALID during sensorsd startup were completely ignored, but now their invalid status is appropriately reported, and they are monitored again when they come out of their invalid mode * previously, a sensor that had an empty entry in the configuration file was reported to be "within limits", but now it will not be monitored at all (unless, of cause, it provides its own status) As a bonus, sensorsd syslog entries should now be shorter, and the majority of them will fit on one line on 80-column terminals. ok beck@, henning@, deraadt@
2007-05-29Remove watch_cnt in preparation for my bigger patch that makes sensorsdConstantine A. Murenin
usable by default, where we will monitor all sensors that automatically provide status, and this watch_cnt won't make much sense. Besides, upon startup, sensorsd already shows all sensors that it is going to monitor, making this watch_cnt rather unimportant. ok henning@
2007-05-29tweaks; help/ok cnstJason McIntyre
2007-05-29for sensorsd.conf entries, let's do matching by sensor type if maching by ↵Constantine A. Murenin
complete sysctl name does not yield anything; ok henning, otto
2007-02-28do status dampening for OK status as well, i. e.Henning Brauer
if a sensor is always bad, but sometimes goes OK for only a few seconds, we want to ignore that bogus change as well also fix setting if last_val. from Constantine, ok mickey
2007-02-23add missing copyright; ConstantineTheo de Raadt
2007-01-06increase buffer size; ie. for hw.sensors.ipmi0.indicator0Theo de Raadt
from cnst+openbsd@bugmail.mojo.ru
2006-12-28tweak;Jason McIntyre
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
provide dampenning for negative events and simultaneously increase polling frequency accordingly to provide same rate of reporting. mbalmer@ beck@ deraadt@ ok
2006-09-16sync printing w/ sysctl and also add missing sensor types to the conf ↵Michael Shalayeff
parser; deraadt@ ok
2006-08-23wording;Jason McIntyre
2006-08-23esm(4) also gives status (sometimes ;)Michael Shalayeff
2006-08-23allow monitoring sensors with their own status reporting such as ipmi or ↵Michael Shalayeff
raid controllers; marco@ ok
2006-04-21ami sysctl diff; from michael knudsenJason McIntyre
ok dlg
2006-04-01when I initially hacked sensorsd, sensors started at hw.sensors.0 andHenning Brauer
there were no gaps ever. these days, we can have holes or start later. so on start scan 0..255 and do not abort if there's no entry, probe 'em all. found and analyzed by Sam Chill <samchill@gmail.com>, ok theo
2006-03-20add two missing function declarationsDavid Hill
change sensor_status to sensorsd_status ok deraadt@
2006-03-07beef up this file a little; ok grangeJason McIntyre
2006-02-06don't error out but give a warning when sysctl()Moritz Jodeit
fails with something else than ENOENT. suggested by tedu@ ok henning@
2006-01-31When sysctl(3) fails, check for ENOENT instead of ENXIO to findMoritz Jodeit
the last sensor and don't monitor sensors, which are marked invalid. ok henning@
2005-08-10remove drivers from here.Alexandre Anriot
ok jsg@ deraadt@
2005-08-10add lmtemp(4) and viasio(4).Alexandre Anriot
ok grange@
2005-08-04Support for SENSOR_INTEGER.Jonathan Gray
ok grange@, dlg@, henning@
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-05-11document conf file reload w/ SIGHUP;Jason McIntyre
from michael knudsen; ok henning@
2005-04-21spacingTheo de Raadt
2005-04-20fix buffer overrun introduced with my previous commit. Found and fixed byHans-Joerg Hoexer
moritz@; while around take care of snprintf return values help and ok moritz@, henning@
2005-04-02new sentence, new line;Jason McIntyre
change an article;
2005-04-01spacingTheo de Raadt
2005-04-01sensorsd(8) execute command on exceeding limitsHans-Joerg Hoexer
from matthew.gream@pobox.com, thanks! cleaning and ok deraadt@
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-06-27add reference to nsclpcsio(4) to SEE ALSO;Jason McIntyre
prodded by Alexey E. Suslikov;
2004-04-11Fix accidental busy loop waiting for a second to pass. Also, renameOtto Moerbeek
constants that defined a period of time. ok deraadt@ henning@
2004-03-15add a default: case to the switch (sensor type) in the config file parserHenning Brauer
that just errs out if someone tries to configure limits for a sensor type we do not support, deraadt ok
2004-02-07knf; jjy2+@pitt.eduTheo de Raadt
2004-01-08sync with sysctl/drivers + 0K == -273.15C; report grange; ok henningMarkus Friedl
2003-12-22reload is used in signal handler, make it volatile sig_atomic_tHenning Brauer
2003-10-07FILES /etc/sensorsd.confHenning Brauer
spotted by millert@ ok millert@ jmc@