Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

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@
17 years ago
18 years ago
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@
17 years ago
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@
17 years ago
  1. # $OpenBSD: sensorsd.conf,v 1.9 2011/01/19 06:18:05 david Exp $
  2. #
  3. # Sample sensorsd.conf file. See sensorsd.conf(5) for details.
  4. #
  5. # +5 voltage (volts)
  6. #hw.sensors.lm0.volt3:low=4.8V:high=5.2V
  7. # +12 voltage (volts)
  8. #hw.sensors.lm0.volt4:low=11.5V:high=12.5V
  9. # Chipset temperature (degrees Celsius)
  10. #hw.sensors.lm0.temp0:high=50C
  11. # CPU temperature (degrees Celsius)
  12. #hw.sensors.lm0.temp1:high=60C
  13. # CPU fan (RPM)
  14. #hw.sensors.lm0.fan1:low=3000
  15. # ignore certain indicators on ipmi(4)
  16. #hw.sensors.ipmi0.indicator1:istatus
  17. # Warn if any temperature sensor is over 70 degC.
  18. # This entry will match only those temperature sensors
  19. # that don't have their own entry.
  20. #temp:high=70C
  21. # By default, sensorsd(8) reports status changes of all sensors that
  22. # keep their state. Uncomment the following lines if you want to
  23. # suppress reports about status changes of specific sensor types.
  24. #temp:istatus
  25. #fan:istatus
  26. #volt:istatus
  27. #acvolt:istatus
  28. #resistance:istatus
  29. #power:istatus
  30. #current:istatus
  31. #watthour:istatus
  32. #amphour:istatus
  33. #indicator:istatus
  34. #raw:istatus
  35. #percentage:istatus
  36. #illuminance:istatus
  37. #drive:istatus
  38. #timedelta:istatus