Removed check_postgresql - Deprecated since we now use an API

This commit is contained in:
Jérémy Dubois 2020-07-23 11:00:34 +02:00
parent 3d86996f5d
commit 57d44cbf91
2 changed files with 4 additions and 7 deletions

View file

@ -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

View file

@ -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