def status_ip(self): """ Collect IPv4/IPv6 status. """ if not self.machine.collect_system_information: logger.debug("Status IP: collecting system information disabled... skip") return if self.online is False: return machine_ = get_status_ip(self.fqdn) if machine_: sync(self.machine, machine_)
def miscellaneous(self): """ Collect miscellaneous data about CPU, RAM, EFI, VM host capability, etc. """ if not self.machine.collect_system_information: logger.debug("Miscellaneous: collecting system information disabled... skip") return if self.online is False: return machine_ = get_hardware_information(self.fqdn) if machine_: sync(self.machine, machine_)