From 57d44cbf911ee2b7286cada882c3613b5bd8c69e Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Thu, 23 Jul 2020 11:00:34 +0200 Subject: [PATCH] Removed check_postgresql - Deprecated since we now use an API --- CHANGELOG | 4 ++++ evocheck.sh | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a3bfbae..80243f7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix check_defaultroute - We need to check if the /etc/mygate file exists before comparing it +### Removed + +- Removed check_postgresql - Deprecated since we now use an API + ## [6.7.2] - 2020-07-22 ### Added diff --git a/evocheck.sh b/evocheck.sh index 48803d9..b3c6175 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -231,12 +231,6 @@ check_sudomaint(){ || failed "IS_SUDOMAINT" "" } -check_postgresql(){ - if ! is_installed postgresql-client; then - failed "IS_POSTGRESQL" "postgresql-client is not installed! Please add with pkg_add postgresql-client" - fi -} - check_nrpe(){ if ! is_installed monitoring-plugins || ! is_installed nrpe; then failed "IS_NRPE" "nrpe and/or monitoring-plugins are not installed! Please add with pkg_add nrpe monitoring-plugins" @@ -344,7 +338,6 @@ main() { test "${IS_TTYC0SECURE:=1}" = 1 && check_ttyc0secure test "${IS_CUSTOMSYSLOG:=1}" = 1 && check_customsyslog test "${IS_SUDOMAINT:=1}" = 1 && check_sudomaint - test "${IS_POSTGRESQL:=1}" = 1 && check_postgresql test "${IS_NRPE:=1}" = 1 && check_nrpe test "${IS_RSYNC:=1}" = 1 && check_rsync test "${IS_CRONPATH:=1}" = 1 && check_cronpath