Commit Graph

232 Commits

Author SHA1 Message Date
Daniel Berteaud c1e46207da Read raw value for SSL_Life_Left 2023-12-21 15:00:07 +01:00
Daniel Berteaud f72910cc6b Read SSD_Life_Left if available 2023-12-21 14:47:28 +01:00
Daniel Berteaud 62b8de1b05 /dev/bus/0 might not exist but can be queried 2023-12-21 14:23:58 +01:00
Daniel Berteaud 066f622888 Report more info from some NVMe 2023-12-21 14:16:31 +01:00
Daniel Berteaud 12c8396be3 Adjust default values for stor dev 2023-12-21 14:09:42 +01:00
Daniel Berteaud a5ad4081f0 Add new script for smart monitoring 2023-12-20 16:19:21 +01:00
Daniel Berteaud 55c878cf24 Ignore samba NT_STATUS_PROTOCOL_UNREACHABLE errors 2023-09-19 12:03:04 +02:00
Daniel Berteaud e5047e7b92 Fix + discover NMVe 2023-06-29 14:02:30 +02:00
Daniel Berteaud 2c29e4ecaa Better sensor output parsing 2023-06-29 12:12:07 +02:00
Daniel Berteaud 7b42d3f2a9 Drop ipmitool stderr and simplify output parsing 2023-06-29 11:15:10 +02:00
Daniel Berteaud 3159f43ced Fix fan detection on some BMC boards 2023-06-29 09:29:15 +02:00
Daniel Berteaud 5acc49a55c Fix counting samba computers auth tries 2022-03-26 18:30:16 +01:00
Daniel Berteaud 221a0afe5d last_seen might not be defined in check_unifi 2022-03-21 11:29:41 +01:00
Daniel Berteaud 4e50e2b2d4 Use JSON bool in unifi scripts 2022-03-21 10:48:50 +01:00
Daniel Berteaud e0d2825f21 Fix check_zimbra_sudo 2022-01-24 11:01:03 +01:00
Daniel Berteaud 5afabbfaad Add alloc_ct for LVM VG when missing 2022-01-21 13:46:06 +01:00
Daniel Berteaud 31ccccd2e0 Fix Zimbra discovery and check scripts 2022-01-21 12:19:29 +01:00
Daniel Berteaud 51fa9f602a Add a {#DOCKER_CONTAINER_STATUS} LLD macro 2022-01-20 17:28:37 +01:00
Daniel Berteaud 80bfaee714 Don't query state in docker discovery
As it's not supported on some older docker, and not used anyway
2022-01-20 14:54:19 +01:00
Daniel Berteaud 820d12a682 Small fixes for Docker check script and template 2022-01-13 13:58:58 +01:00
Daniel Berteaud a24f4adb81 Add Docker scripts 2022-01-12 16:23:50 +01:00
Daniel Berteaud cfdd92b9c6 Fix zpool iostat as /proc/spl/kstat/zfs/pool/io doesn't exist anymore 2021-12-16 16:46:43 +01:00
Daniel Berteaud 5387ae53b8 Tweak elasticsearch monitoring scripts 2021-10-19 10:18:44 +02:00
Daniel Berteaud 9ad6d8b1b3 Small fixes in elasticsearch scripts 2021-10-18 12:18:37 +02:00
Daniel Berteaud 74b3ba5928 Add Elasticsearch monitoring scripts 2021-10-18 11:34:53 +02:00
Daniel Berteaud f0e704ce95 Do not count Unconfigured(good) drives as an error 2021-07-16 10:15:01 +02:00
Daniel Berteaud 360895affb Remove health and capacity sanoid checks from discovery
This is handled by check_zfs anyway
2021-06-09 18:22:32 +02:00
Daniel Berteaud ca549543c8 Support Debian lib path for BackupPC 2021-05-27 19:44:26 +02:00
Daniel Berteaud c1f20d9388 Fix zfs pool monitoring when a pool has errors
We must drop stderr so messages like permissions error getting errors do
not pollute the JSON output
2021-02-17 10:30:59 +01:00
Daniel Berteaud 5ff7e2214c [check_samba_dc_sudo] Fix typo with GPO listing 2021-01-14 19:13:53 +01:00
Daniel Berteaud b780d464dd [check_samba_sudo] Update default audit log file path, and drop errors from samba-tool 2021-01-14 18:55:16 +01:00
Daniel Berteaud acd74aa1db Optimize samba audit_auth log parsing by reading from the tail of the file
GLPI #47700
2021-01-14 15:40:22 +01:00
Daniel Berteaud bf190465bf Modernize lvm monitoring scripts
support getting all the value at once in a JSON structure, support VG monitoring, and various other cleanups

GLPI #47654
2021-01-13 17:48:01 +01:00
Daniel Berteaud 33c03ebe45 Small fixes in check_samba_dc (skip unparsable logs, and handle message with NT_STATUS_NO_SUCH_USER 2021-01-12 19:23:28 +01:00
Daniel Berteaud 628f2a5e2e Add general stats to BackupPC monitoring script 2021-01-11 22:53:49 +01:00
Daniel Berteaud 1c2c4e8377 Add OU discovery to samba monitoring
GLPI #47623
2021-01-11 16:09:09 +01:00
Daniel Berteaud 19ec29e577 Minor fixes for samba script and template 2021-01-11 09:28:29 +01:00
Daniel Berteaud 7563ab8655 Add scripts and template to monitor Samba 4 DC
GLPI #47603
2021-01-09 17:20:43 +01:00
Daniel Berteaud bc0edccfa0 Add guest counter for PVE cluster and node
Also update the Zabbix template to handle those new counters

GLPI #47604
2021-01-08 13:04:22 +01:00
Daniel Berteaud 10660aedf6 Possibility to check certificate
with available --no-cert-check option to disable it. Auto disable if connecting on localhost
2020-12-01 11:38:58 +01: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 cd790587e6 Don't return garbage in mpath discovery if command failed 2020-10-22 20:42:26 +02:00
Daniel Berteaud c0e1aa14ac Add scripts to discover and check multipath devices 2020-10-20 18:18:17 +02:00
Daniel Berteaud 53b83f2d0e Use MAC of device if no name is defined in Unifi device discovery 2020-09-29 15:24:46 +02:00
Daniel Berteaud 4777b8274f Update scripts to work with ssacli (in adition to hpacucli) 2020-09-23 20:00:46 +02:00
Daniel Berteaud 6467da92c4 Add some compatibility for older MySQL servers 2020-09-04 12:38:07 +02:00
Daniel Berteaud 0b4fa6425c check_mysql needs sudo permissions 2020-08-31 15:25:25 +02:00
Daniel Berteaud f20de75884 Add MySQL monitoring script and template 2020-08-31 15:00:48 +02:00
Daniel Berteaud a02b5c780b Add /usr/local/BackupPC/lib as lib dir for BackupPC scripts
Needed for manual install, from source
2020-05-27 16:50:50 +02:00