def read_server_info(hostname): prefix = '*oracledbinventory-' suffix = '-compact.json' logger.info("OracleDB Inventory for " + hostname) return read_file_info(hostname, prefix, suffix)
def read_server_info(hostname): prefix = '*barinventory-' suffix = '-compact.json' logger.info("Batch Archive Inventory for " + hostname) return read_file_info(hostname, prefix, suffix)
def read_server_info(hostname): prefix = '*postgresqlinventory-' suffix = '-compact.json' logger.info("PostgreSQL Inventory for " + hostname) return read_file_info(hostname, prefix, suffix)
def read_server_info(hostname): prefix = '*jbossinventory-' suffix = '-compact.json' logger.info("JBoss Inventory for " + hostname) return read_file_info(hostname, prefix, suffix)
def read_server_info(hostname): prefix = '*webloinventory-' suffix = '-compact.json' logger.info("Weblogic Inventory for " + hostname) return read_file_info(hostname, prefix, suffix)