From d03e0d0f8cff2591b559062444a86d5d6bbcdf90 Mon Sep 17 00:00:00 2001 From: Kamil Monticolo Date: Thu, 12 Dec 2019 14:12:40 +0100 Subject: [PATCH 1/4] Add more recent versions of Zabbix --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e6f1f01..89f44ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ sudo: false language: c env: + - ZABBIX_VERSION=4.4.3 + - ZABBIX_VERSION=4.2.8 + - ZABBIX_VERSION=4.0.10 - ZABBIX_VERSION=3.4.8 - ZABBIX_VERSION=3.2.11 - ZABBIX_VERSION=3.0.16 From 3de383097703cfdce92a80542c32eb85533cc994 Mon Sep 17 00:00:00 2001 From: Kamil Monticolo Date: Thu, 12 Dec 2019 14:26:04 +0100 Subject: [PATCH 2/4] fix sed, change travis url --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7652433..5e2b22b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Native Zabbix systemd monitoring [![Build Status](https://travis-ci.org/cavaliercoder/zabbix-module-systemd.svg?branch=master)](https://travis-ci.org/cavaliercoder/zabbix-module-systemd) +# Native Zabbix systemd monitoring [![Build Status](https://travis-ci.org/kmonticolo/zabbix-module-systemd.svg?branch=master)](https://travis-ci.org/cavaliercoder/zabbix-module-systemd) Zabbix module that enables Zabbix to query the systemd D-Bus API for native and granular system state monitoring + relative cgroup (CPU, MEM, IO, ...) metrics. @@ -47,9 +47,9 @@ for this setting may be controlled with `Default*Accounting` settings in Example how to enable cgroup accounting for Zabbix systemd monitoring: ```bash -sed -i -e "s/.*DefaultCPUAccounting=.*/DefaultCPUAccounting=yes/g" /etc/systemd/system.conf -sed -i -e "s/.*DefaultBlockIOAccounting=.*/DefaultBlockIOAccounting=yes/g" /etc/systemd/system.conf -sed -i -e "s/.*DefaultMemoryAccounting=.*/DefaultMemoryAccounting=yes/g" /etc/systemd/system.conf +sed -i "s/.*DefaultCPUAccounting=.*/DefaultCPUAccounting=yes/g" /etc/systemd/system.conf +sed -i "s/.*DefaultBlockIOAccounting=.*/DefaultBlockIOAccounting=yes/g" /etc/systemd/system.conf +sed -i "s/.*DefaultMemoryAccounting=.*/DefaultMemoryAccounting=yes/g" /etc/systemd/system.conf systemctl daemon-reexec systemctl restart zabbix-agent ``` From ebd4abfbce9adf5afdacd34ad9b74704c5be2ea9 Mon Sep 17 00:00:00 2001 From: Kamil Monticolo Date: Thu, 12 Dec 2019 14:34:26 +0100 Subject: [PATCH 3/4] add more ubuntu versions - remove obsolete sudo - add missing os - add more ubuntu versions --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 89f44ec..8e0cf4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ -dist: trusty # required for D-Bus >= 1.6 -sudo: false +dist: + - trusty # required for D-Bus >= 1.6 + - xenial + - bionic + +os: linux language: c env: From 36d3f75474b5fff3bf0fe36da9bdd2a860e57785 Mon Sep 17 00:00:00 2001 From: Kamil Monticolo Date: Thu, 12 Dec 2019 14:36:09 +0100 Subject: [PATCH 4/4] fix dist --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e0cf4b..e7f3ef4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,4 @@ -dist: - - trusty # required for D-Bus >= 1.6 - - xenial - - bionic - +dist: bionic os: linux language: c