From c1d628537964b15afc87b04c23275ebd2bdc8888 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 14 Nov 2017 10:35:57 +0100 Subject: [PATCH] dsa-check-backuppg: clusternames with _ are not really clusternames --- dsa-nagios-checks/checks/dsa-check-backuppg | 1 + 1 file changed, 1 insertion(+) diff --git a/dsa-nagios-checks/checks/dsa-check-backuppg b/dsa-nagios-checks/checks/dsa-check-backuppg index b12479b..8704f3c 100755 --- a/dsa-nagios-checks/checks/dsa-check-backuppg +++ b/dsa-nagios-checks/checks/dsa-check-backuppg @@ -348,6 +348,7 @@ for dir in os.listdir('.'): global_expires.append(f) for db in notyetseen_dbs: + if db.startswith('_'): continue note_warning_db(dir, db, 'NO-BACKUP', 'no backups! (no .backup files found)') #if not db in backup_state: -- 2.20.1