Commit Graph

385 Commits

Author SHA1 Message Date
Daniel Berteaud
b19b1dfa96 drop stderrr for upsc commands
On debian based system, upsc prints "Init SSL without certificate database" which prevents Zabbix from getting the value
2020-02-19 11:33:35 +01:00
Daniel Berteaud
35f1623c5f Automatic commit of package [zabbix-agent-addons] release [0.2.111-1].
Created by command:

/usr/bin/tito tag
2020-02-17 08:58:41 +01:00
Daniel Berteaud
93ba949e65 Update ZFS and BackupPC templates 2020-02-17 08:58:26 +01:00
Daniel Berteaud
4def77e07f Automatic commit of package [zabbix-agent-addons] release [0.2.110-1].
Created by command:

/usr/bin/tito tag
2020-02-10 23:11:41 +01:00
Daniel Berteaud
b91713591b Fix a typo in ZabbixSizeTooSmallFactor conf 2020-02-10 23:11:19 +01:00
Daniel Berteaud
bceb5a6a4f Automatic commit of package [zabbix-agent-addons] release [0.2.109-1].
Created by command:

/usr/bin/tito tag
2020-02-05 23:00:02 +01:00
Daniel Berteaud
31a443aa7e Don't skip local node in PVE nodes discovery 2020-02-05 22:59:24 +01:00
Daniel Berteaud
493df17e76 Automatic commit of package [zabbix-agent-addons] release [0.2.108-1].
Created by command:

/usr/bin/tito tag
2020-01-22 17:55:19 +01:00
Daniel Berteaud
eb817e2f7b Only skip RAID volumes checks when in HBA mode, not physical disks checks 2020-01-22 17:17:53 +01:00
Daniel Berteaud
a38b7ab4b2 Declar variable in the correct scope for hba mode detection 2020-01-22 16:23:26 +01:00
Daniel Berteaud
0135771c7a Handle megaraid controlers in HBO/JBOD mode (skip RAID checks) 2020-01-22 16:18:49 +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
8180aa2897 Automatic commit of package [zabbix-agent-addons] release [0.2.107-1].
Created by command:

/usr/bin/tito tag
2020-01-16 18:34:15 +01:00
Daniel Berteaud
7955b547c5 Add Zabbix template for Squid 2020-01-16 18:34:03 +01:00
Daniel Berteaud
cf4d45c0dc Automatic commit of package [zabbix-agent-addons] release [0.2.106-1].
Created by command:

/usr/bin/tito tag
2020-01-16 18:08:28 +01:00
Daniel Berteaud
adc4b5dc23 Remove uri from UsereParam args for squid
passing an URI would require to allow special caracters in key args
2020-01-16 18:07:44 +01:00
Daniel Berteaud
657c2a0ff0 Automatic commit of package [zabbix-agent-addons] release [0.2.105-1].
Created by command:

/usr/bin/tito tag
2019-12-17 08:52:14 +01:00
Daniel Berteaud
e080780248 Fix ready sizeNew from last backup (except when link hasn't ran yet) 2019-12-17 08:51:45 +01:00
Daniel Berteaud
058aad1264 Automatic commit of package [zabbix-agent-addons] release [0.2.104-1].
Created by command:

/usr/bin/tito tag
2019-12-15 20:09:35 +01:00
Daniel Berteaud
8c25777182 Disable vfs.dev.discovery in default conf 2019-12-15 20:09:14 +01:00
Daniel Berteaud
f190314a9a Automatic commit of package [zabbix-agent-addons] release [0.2.103-1].
Created by command:

/usr/bin/tito tag
2019-12-15 19:14:33 +01:00
Daniel Berteaud
d6e5240cf7 Set min backup size to 0 in template 2019-12-15 19:14:04 +01:00
Daniel Berteaud
7a02253d56 Automatic commit of package [zabbix-agent-addons] release [0.2.102-1].
Created by command:

/usr/bin/tito tag
2019-12-15 17:20:59 +01:00
Daniel Berteaud
abfa7433e1 Fix key name for enabled value 2019-12-15 17:20:34 +01:00
Daniel Berteaud
7f06d7b2f5 Automatic commit of package [zabbix-agent-addons] release [0.2.101-1].
Created by command:

/usr/bin/tito tag
2019-12-15 17:11:16 +01:00
Daniel Berteaud
d49e7816d5 Init complete JSON objects with default values in bheck_backuppc_sudo 2019-12-15 17:10:46 +01:00
Daniel Berteaud
7ded61c8af Remove unused variables 2019-12-15 17:08:15 +01:00
Daniel Berteaud
14853e81b4 Automatic commit of package [zabbix-agent-addons] release [0.2.100-1].
Created by command:

/usr/bin/tito tag
2019-12-15 16:59:49 +01:00
Daniel Berteaud
eb0ada1a69 Only substract $new_size_of_last_full once 2019-12-15 16:59:26 +01:00
Daniel Berteaud
345cc4d6f3 Automatic commit of package [zabbix-agent-addons] release [0.2.99-1].
Created by command:

/usr/bin/tito tag
2019-12-13 23:46:22 +01:00
Daniel Berteaud
ca2f76e842 Fix when a host has a single backup with 0 new file size
Which can heppen if you deleted backups manually
2019-12-13 23:45:37 +01:00
Daniel Berteaud
a83b7efb96 Automatic commit of package [zabbix-agent-addons] release [0.2.98-1].
Created by command:

/usr/bin/tito tag
2019-12-13 23:28:25 +01:00
Daniel Berteaud
810f192184 Fix backups total size computation when there's only one full 2019-12-13 23:27:39 +01:00
Daniel Berteaud
bcf313009b Automatic commit of package [zabbix-agent-addons] release [0.2.97-1].
Created by command:

/usr/bin/tito tag
2019-12-13 18:30:34 +01:00
Daniel Berteaud
55642ebede Include Zabbix template to monitor BackupPC 2019-12-13 18:30:14 +01:00
Daniel Berteaud
5603e24330 Automatic commit of package [zabbix-agent-addons] release [0.2.96-1].
Created by command:

/usr/bin/tito tag
2019-12-13 16:43:41 +01:00
Daniel Berteaud
08f7decaf2 Enhanced stats for BackupPC's entity 2019-12-13 16:43:15 +01:00
Daniel Berteaud
ef992661a4 Automatic commit of package [zabbix-agent-addons] release [0.2.95-1].
Created by command:

/usr/bin/tito tag
2019-12-11 19:10:40 +01:00
Daniel Berteaud
ba0a868fd4 Wait for BackupPC_link to run before we take new sizes in our stat
So it won't send wrong comp_ratio of size values
2019-12-11 19:09:50 +01:00
Daniel Berteaud
847efa1243 Automatic commit of package [zabbix-agent-addons] release [0.2.94-1].
Created by command:

/usr/bin/tito tag
2019-12-11 18:42:49 +01:00
Daniel Berteaud
f51a6a930d Fix BackupPC script when BackuPPC_link is waiting for the nightly cleanup to finish 2019-12-11 18:42:20 +01:00
Daniel Berteaud
692517ba87 Automatic commit of package [zabbix-agent-addons] release [0.2.93-1].
Created by command:

/usr/bin/tito tag
2019-11-29 18:41:46 +01:00
Daniel Berteaud
096253e5dc Don't use autoloader in our forked Linux::LVM 2019-11-29 18:37:36 +01:00
Daniel Berteaud
5be6520118 Don't requires Linux::LVM anymore 2019-11-29 18:35:09 +01:00
Daniel Berteaud
1b89210fec Replace Linux::LVM occurrences with Zabbix::Agent::Addons::LVM 2019-11-29 18:34:10 +01:00
Daniel Berteaud
b108ac7a82 Bundle a fork of Linux::LVM with support for LVM thin pools
GLPI#39889
2019-11-29 18:31:45 +01:00
Daniel Berteaud
bf787e3670 Automatic commit of package [zabbix-agent-addons] release [0.2.92-1].
Created by command:

/usr/bin/tito tag
2019-11-27 09:34:25 +01:00
Daniel Berteaud
e30dcda6da Better compat with 4.4 vfs.dev.discovery (and use lsblk to get the list of dev if available) 2019-11-27 09:29:10 +01:00
Daniel Berteaud
db939d3e92 Automatic commit of package [zabbix-agent-addons] release [0.2.91-1].
Created by command:

/usr/bin/tito tag
2019-11-26 18:14:26 +01:00
Daniel Berteaud
85c1cbc105 Add DEVNAME macro for vfs.dev.discovery to ease transition to 4.4
4.4 includes vfs.dev.discovery but with different macro names (DEVNAME instead of BLOCKDEV)
2019-11-26 18:13:29 +01:00