Deleted hostname old collection, moved to collector

This commit is contained in:
Shay Nehmad 2020-01-20 16:43:25 +02:00
parent d584890dca
commit 476c6e7a4b
1 changed files with 0 additions and 9 deletions

View File

@ -62,7 +62,6 @@ class InfoCollector(object):
def get_info(self): def get_info(self):
# Collect all hardcoded # Collect all hardcoded
self.get_hostname()
self.get_process_list() self.get_process_list()
self.get_network_info() self.get_network_info()
self.get_azure_info() self.get_azure_info()
@ -70,14 +69,6 @@ class InfoCollector(object):
# Collect all plugins # Collect all plugins
SystemInfoCollectorsHandler().execute_all_configured() SystemInfoCollectorsHandler().execute_all_configured()
def get_hostname(self):
"""
Adds the fully qualified computer hostname to the system information.
:return: None. Updates class information
"""
LOG.debug("Reading hostname")
self.info['hostname'] = socket.getfqdn()
def get_process_list(self): def get_process_list(self):
""" """
Adds process information from the host to the system information. Adds process information from the host to the system information.