dsa-check-backuppg: clusternames with _ are not really clusternames
authorPeter Palfrader <peter@palfrader.org>
Tue, 14 Nov 2017 09:35:57 +0000 (10:35 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 14 Nov 2017 09:36:03 +0000 (10:36 +0100)
dsa-nagios-checks/checks/dsa-check-backuppg

index b12479b..8704f3c 100755 (executable)
@@ -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: