From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- modules/private/monitoring/plugins/check_ftp_database | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 modules/private/monitoring/plugins/check_ftp_database (limited to 'modules/private/monitoring/plugins/check_ftp_database') diff --git a/modules/private/monitoring/plugins/check_ftp_database b/modules/private/monitoring/plugins/check_ftp_database deleted file mode 100755 index f9cf579..0000000 --- a/modules/private/monitoring/plugins/check_ftp_database +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -OUT=$(echo "ls" | lftp -u test_ftp,test_ftp eldiron.immae.eu | grep it_works | wc -l) - -if [ "$OUT" -eq 1 ]; then - echo "ftp connection OK - access to ftp is working | ftp=1;;;;" - exit 0 -else - echo "ftp connection CRITICAL - no access to ftp | ftp=0;;;;" - exit 2 -fi -- cgit v1.2.3