added check_hadoop_hdfs_rack_resilience.py
532f7aff
Hari Sekhon
committed
1 changed file
check_hadoop_hdfs_rack_resilience.py
/check_hadoop_hdfs_rack_resilience.py-3+3
/check_hadoop_hdfs_rack_resilience.py
Add comment 47 __version__ = '0.1'
Add comment 48
Add comment 49
Add comment 50 Minus  class CheckCouchDBDatabaseDocs(CheckCouchDBDatabaseStats):
Add comment 50 Plus  class CheckCouchDBDatabaseDocCount(CheckCouchDBDatabaseStats):
Add comment 51
Add comment 52 def __init__(self):
Add comment 53 # Python 2.x
Add comment 54 Minus   super(CheckCouchDBDatabaseDocs, self).__init__()
Add comment 54 Plus   super(CheckCouchDBDatabaseDocCount, self).__init__()
Add comment 55 # Python 3.x
Add comment 56 # super().__init__()
Add comment 57 self.has_thresholds = True
Add comment 64
Add comment 65
Add comment 66 if __name__ == '__main__':
Add comment 67 Minus   CheckCouchDBDatabaseDocs().main()
Add comment 67 Plus   CheckCouchDBDatabaseDocCount().main()
Add comment 68