forked from p15670423/monkey
Deleted hostname old collection, moved to collector
This commit is contained in:
parent
d584890dca
commit
476c6e7a4b
|
@ -62,7 +62,6 @@ class InfoCollector(object):
|
|||
|
||||
def get_info(self):
|
||||
# Collect all hardcoded
|
||||
self.get_hostname()
|
||||
self.get_process_list()
|
||||
self.get_network_info()
|
||||
self.get_azure_info()
|
||||
|
@ -70,14 +69,6 @@ class InfoCollector(object):
|
|||
# Collect all plugins
|
||||
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):
|
||||
"""
|
||||
Adds process information from the host to the system information.
|
||||
|
|
Loading…
Reference in New Issue