Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Berteaud
dc8bef75ed Better sanoïd monitoring integration 2019-09-21 16:10:40 +02:00
Daniel Berteaud
2a0c6b2ad9 Remove trailing x for compressratio with ZoL < 0.8 2019-09-20 12:54:01 +02:00
Daniel Berteaud
ad7c36b6de Revert to suffix conversion for ZFS error count
zpool status -p is only supported since ZoL 0.8.0, so, to monitor older servers, we need to do this without -p
2019-09-20 12:39:51 +02:00
Daniel Berteaud
f58df33f3b Rewrite ZFS monitoring from scratch
Now support discovery of datasets, a lot more metrics and sanoid snapshots
2019-09-20 10:39:07 +02:00
Daniel Berteaud
d782fc24ab Fix ZBX_NOTSUPPORTED string in several scripts 2018-12-09 11:49:09 +01:00
Daniel Berteaud
7d27a931f3 Fix ZFS pool stats retrieval 2018-07-04 08:11:39 +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
d7f456d2ea Add scripts to discover and check ZFS zpools 2018-05-28 17:26:57 +02:00