From: Peter Palfrader Date: Tue, 14 Nov 2017 09:35:57 +0000 (+0100) Subject: dsa-check-backuppg: clusternames with _ are not really clusternames X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-nagios.git;a=commitdiff_plain;h=c1d628537964b15afc87b04c23275ebd2bdc8888 dsa-check-backuppg: clusternames with _ are not really clusternames --- 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: