Commit Graph

106 Commits

Author SHA1 Message Date
Daniel Berteaud
7d27a931f3 Fix ZFS pool stats retrieval 2018-07-04 08:11:39 +02:00
Daniel Berteaud
7d882a4778 Fix computing pool CPU usage in check_pve 2018-06-13 23:46:53 +02:00
Daniel Berteaud
8b457ecc69 Add global net and disk stats for the cluster in check_pve_sudo 2018-06-07 14:04:27 +02:00
Daniel Berteaud
37405cd71d Fix check_pve_sudo for single node monitoring 2018-06-05 10:03:34 +02:00
Daniel Berteaud
a5804359db Remove redundant condition 2018-06-05 00:21:48 +02:00
Daniel Berteaud
159247fb00 Fix {#PVE_STOR_STATUS} macro 2018-06-05 00:11:34 +02:00
Daniel Berteaud
ffe8c6b0a5 Only gather info about online nodes 2018-06-04 23:29:27 +02:00
Daniel Berteaud
c146554291 Add some global cluster stats for PVE 2018-06-04 23:08:27 +02:00
Daniel Berteaud
a9bc0f7f54 Enhance PVE scripts and conf 2018-06-03 23:06:08 +02:00
Daniel Berteaud
29fe3a445d Add basic scripts for PVE monitoring 2018-06-01 10:34:40 +02:00
Daniel Berteaud
662d48584e Add stats for ZFS zpools 2018-05-30 17:07:20 +02:00
Daniel Berteaud
e72efa4415 Ensure we always return a value for scan action status errors in check_zfs 2018-05-29 12:38:25 +02:00
Daniel Berteaud
420bb936b3 Handle situations where there's more than 1000 errors on a item in ZFS pools 2018-05-29 12:20:07 +02:00
Daniel Berteaud
65e1f006a7 Various enhancements in check_zfs 2018-05-29 12:03:25 +02:00
Daniel Berteaud
dec361914d Fix macro name for zfs zpool discovery 2018-05-28 17:51:31 +02:00
Daniel Berteaud
d7f456d2ea Add scripts to discover and check ZFS zpools 2018-05-28 17:26:57 +02:00
Daniel Berteaud
df2da12d82 Use "all" key to get all httpd stats in JSON format 2018-03-06 09:29:50 +01:00
Daniel Berteaud
ce67a8f719 Respond with all stats as a JSON structure if no --what given 2018-03-06 08:52:12 +01:00
Daniel Berteaud
0ca02b4974 Support space in httpd status key
So total_accesses and total_kbytes are available again
2018-03-06 08:43:05 +01:00
Daniel Berteaud
381db5eb17 Fix mdadm RAID discovery condition 2018-02-06 10:53:15 +01:00
Daniel Berteaud
b4f79b94e4 Don't WARN when device is being checked, only when it's rebuilding 2018-01-09 17:51:53 +01:00
Daniel Berteaud
0c9fad57bd Don't detect mdadm RAID in containers 2018-01-09 17:23:35 +01:00
Daniel Berteaud
f714617bec Check line format in check_httpd
Instead of spliting errors in case server-status redirect to somewhere else
2017-11-30 10:06:39 +01:00
Daniel Berteaud
98c9297292 Add script to monitor spamassassin's bayes database stats 2017-11-20 23:50:37 +01:00
Daniel Berteaud
3318a48195 Correctly handle Partially Degraded state
which can happen with multi level RAID arrays, like RAID 60
2017-10-12 16:02:28 +02:00
Daniel Berteaud
c99874dd2d Fix disco_lvm_sudo when there's no VG at all
It was returning an empty string, which is not expected by Zabbix Server, so the item was marked as unsupported. It's now returning an empty JSON list
2016-11-24 16:21:37 +01:00
Daniel Berteaud
a30233bf33 Force ini syntax
Prevent error when the config is empty
2016-11-23 19:18:10 +01:00
Daniel Berteaud
593da4265e Add 0 before . for httpd stats 2016-11-09 17:41:55 +01:00
Daniel Berteaud
6db86ee0c5 Return the uri of server-status
Will make it easier later to suppot alternatives uri
2016-11-09 17:14:15 +01:00
Daniel Berteaud
9058167a9e Add scritps to monitor httpd 2016-11-09 16:26:34 +01: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
c43bdff1a9 Use flock to make sure only one gluster command run at a time 2016-03-21 10:16:28 +01:00
Daniel Berteaud
f9db23c8c5 Prevent heal false positive by checking two times 2015-09-16 15:01:28 +02:00
Daniel Berteaud
2893a84635 Add simple scripts for monitoring DRBD resources
with auto-discovery
2015-09-14 16:41:35 +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
f426903cc8 Move UPS detection in a module 2015-07-20 12:18:28 +02:00
Daniel Berteaud
6f52ff1fab New Zabbix::Agent::Addons::Disks module 2015-07-20 10:44:46 +02:00
Daniel Berteaud
7b5acdf11e Fix GlusterFS brick count on 3.7.x
There's a news RDMA column in gluster vol status
2015-07-10 12:34:26 +02:00