Commit Graph

31 Commits

Author SHA1 Message Date
e5047e7b92 Fix + discover NMVe 2023-06-29 14:02:30 +02:00
2c29e4ecaa Better sensor output parsing 2023-06-29 12:12:07 +02:00
7b42d3f2a9 Drop ipmitool stderr and simplify output parsing 2023-06-29 11:15:10 +02:00
3159f43ced Fix fan detection on some BMC boards 2023-06-29 09:29:15 +02:00
Daniel Berteaud
ecb831f05a Run upsc commands with 2>/de/null
With default conf, it'll print "Init SSL without certificate database" which we're not interested in in this context (and would break Zabbix item)
2020-10-26 19:12:49 +01:00
Daniel Berteaud
cf1dbfbba0 IPMI sensors can have / and - in their name 2020-10-26 18:22:54 +01:00
Daniel Berteaud
30a4e4a15d Skip Core X temp sensors
No need to monitor them, as long as we already monitor the CPU temp
2020-02-25 18:33:17 +01:00
Daniel Berteaud
376db5167c Use head -1 to be sure to get a single value for sensors
Some can report 2 values, and Zabbix won't be able to parse it
2020-01-22 14:27:57 +01:00
Daniel Berteaud
1c8c99e9c9 Add support for some NVMe temp sensors
Found on OVH's Advanced servers for example
2019-07-30 14:01:35 +02:00
Daniel Berteaud
2393ed113e Fix handling Airflow_Temperature_Cel label 2016-10-30 10:31:09 +01:00
Daniel Berteaud
68899dc3eb Alternative temp label for smartctl 2016-10-28 12:52:44 +02:00
Daniel Berteaud
71cf068d67 Remove debug line 2016-09-01 19:54:10 +02:00
Daniel Berteaud
4d03342c5d Add support for lm_sensors 2016-09-01 18:34:49 +02:00
Daniel Berteaud
81e5f414c8 Detect HDD temp sensors with sat+megaraid 2016-04-06 13:52:41 +02:00
Daniel Berteaud
8747854686 Support temp sensors with negative values
Also enhance threshold detector
2015-09-09 18:09:55 +02:00
Daniel Berteaud
a6f8585c05 Several enhancements in sensors ini generator
Including:
Skip sensor if value isn't found
Support power sensor returning value as %
Support power sensor of nut UPS
Better sensor ID sanitization
2015-07-27 16:06:32 +02:00
Daniel Berteaud
1dbc287840 Use separate default threshold for UPS
+ minor coding style updates and optimizations
2015-07-24 16:58:23 +02:00
Daniel Berteaud
4975211274 Minor fixe in sensor generator 2015-07-22 16:57:02 +02:00
Daniel Berteaud
20b5b3aaa6 Minor simplification in sensors generator 2015-07-21 15:05:10 +02:00
Daniel Berteaud
39038b97c7 Actually create UPS sensors 2015-07-21 15:03:36 +02:00
Daniel Berteaud
c5bf918c51 Fix stupid errors in generate_sensors_ini 2015-07-21 14:58:37 +02:00
Daniel Berteaud
c47da02021 Switch to which to find binaries in util_generate_sensors_ini 2015-07-20 16:06:55 +02:00
Daniel Berteaud
33701cc275 Add sensors for nut UPS 2015-07-20 15:47:29 +02:00
Daniel Berteaud
6f52ff1fab New Zabbix::Agent::Addons::Disks module 2015-07-20 10:44:46 +02:00
Daniel Berteaud
c36585d92d Fix using HD hysteresis param 2015-07-10 10:27:33 +02:00
Daniel Berteaud
b9df71e9ba Use separate margin and hyst param for HD 2015-07-09 16:06:50 +02:00
Daniel Berteaud
367454e025 Default temp margin to 20°C instead of 10 2015-07-09 14:30:17 +02:00
Daniel Berteaud
cf8585f524 Fix pwr thresholds order 2015-07-09 14:28:46 +02:00
Daniel Berteaud
113f72fb3a Fix threshold detection for power sensors 2015-07-09 13:54:07 +02:00
Daniel Berteaud
4094dfc530 Better error handling and support for power sensors in the sensor config generator 2015-07-09 13:20:16 +02:00
Daniel Berteaud
e7c34c6e58 Add a generator script for sensors
it'll try to auto discover sensors available using IPMI and smartctl
2015-07-08 16:45:43 +02:00