1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
Commit Graph

29 Commits

Author SHA1 Message Date
schwarze
c9d6433d50 briefly mention /etc/examples/ in the FILES section of all the
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many
2020-02-10 13:18:20 +00:00
deraadt
647427d6f3 More correction of section 3 layout. directory->opendir, fts->fts_open,
getcap->cgetent.  pwcache->user_from_uid. And then repair references.
ok jmc
2019-09-02 21:18:40 +00:00
deraadt
aaeccf361d Adjust references for sysctl(3) to sysctl(2) 2018-01-12 04:36:44 +00:00
schwarze
2069f8e00b Text improvements for precision and clarity, in particular properly
defining the terms "sensor" and "alert", avoiding fuzzy wording
like "reporting period" and "state dumping", explaining how Boolean
values are represented and that ranges are inclusive, and mentioning
the syslog facility used.  Also add relevant cross references and
drop irrelevant ones.
OK jmc@
2017-07-23 19:41:58 +00:00
sobrado
b9170857bc use file system path (.Pa) semantic markup macros where appropriate.
ok jmc@
2015-07-27 17:28:38 +00:00
schwarze
bf1c21e681 Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@
2011-12-03 23:01:21 +00:00
cnst
2115560db4 explicitly report whether the lower or upper limit is exceeded; ok sthen@ ckuethe@ 2008-03-15 01:08:08 +00:00
jmc
db7d6ff80a - punctuate and order the tokens list, to stop it looking scrappy
- it doesn;t make sense to list esm(4) in SEE ALSO
2008-03-14 15:23:49 +00:00
ckuethe
3e90544b1e Add a "%l" token to signal whether a sensor value is in or out of bounds,
without regard for the specific value. It's a big heavy binary hammer...
ok & style feedback from cnst
2008-03-14 00:06:18 +00:00
ckuethe
a3ec7993db document the just-committed %s token.
ok mbalmer
2008-03-13 21:29:51 +00:00
ckuethe
59d0bf4aaf Allow a program invoked on state change to receive sensor status. Perhaps
you might want to toggle an error light when a sensor is not OK. Perhaps
you might want to schedule a shutdown if a sensor is reporting bad news.
Now you can do this, and cancel that pending shutdown (or turn off the error
light) if the sensor decides all is well.

ok mbalmer (who came up with an almost identical diff months ago)
useful feedback and generally positive responses from deraadt, henning, msf
2008-03-13 21:24:45 +00:00
cnst
3c73614c6f sync printing w/ sysctl(8) and add missing sensor types to conf parser;
document how values are parsed in sensorsd.conf(5).

ok deraadt@; man-page ok/help jmc@
2007-08-14 17:10:02 +00:00
cnst
f926b4c215 Commentary in the examples section was wrong from the start, because it gave
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-14 16:52:22 +00:00
cnst
4ccc66ee9d sync sensorsd.conf.5 with reality, including:
* 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-08-10 20:30:14 +00:00
jmc
34100cd62a various grammar/text improvements; 2007-06-05 04:10:56 +00:00
jmc
9490d37cb6 convert to new .Dd format; 2007-05-31 19:19:00 +00:00
cnst
d62c2f6d43 Major update to sensorsd.
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-30 07:49:37 +00:00
jmc
8667fcfdb0 tweaks; help/ok cnst 2007-05-29 06:04:41 +00:00
cnst
e2445bfe25 for sensorsd.conf entries, let's do matching by sensor type if maching by complete sysctl name does not yield anything; ok henning, otto 2007-05-29 02:02:12 +00:00
jmc
011ec30f62 tweak; 2006-12-28 10:04:27 +00:00
deraadt
96fb8c11eb adapt to new two-level sensor sysctl framework; by Constantine A. Murenin 2006-12-23 17:49:53 +00:00
jmc
b378b61d4c wording; 2006-08-23 14:30:27 +00:00
mickey
95e9805ce8 esm(4) also gives status (sometimes ;) 2006-08-23 11:49:15 +00:00
mickey
db03aeab2d allow monitoring sensors with their own status reporting such as ipmi or raid controllers; marco@ ok 2006-08-23 11:18:00 +00:00
jmc
57796b542a beef up this file a little; ok grange 2006-03-07 11:14:02 +00:00
jmc
571b9c0c55 new sentence, new line;
change an article;
2005-04-02 09:25:08 +00:00
deraadt
743dae152e spacing 2005-04-01 22:15:40 +00:00
hshoexer
ee263a2c5b sensorsd(8) execute command on exceeding limits
from matthew.gream@pobox.com, thanks!

cleaning and ok deraadt@
2005-04-01 22:10:23 +00:00
henning
00a496800d sensorsd monitors the hardware sensors as reported by sysctl in hw.sensors.
limits can be configured, out of range notifications through syslog.
config file parsing based on bob's hints, lots of hints from theo
feedback from grange, otto, mickey as well

ok deraadt@; grange@ on an earlier version
2003-09-24 20:32:49 +00:00