code: def get_snmp_from_host1(self):
          
          response = self.snmp1.get_oids(ps1_oid, ps2_oid, fan1_oid, fan2_oid, bat_oid, temp_oid, activity_oid, logfill_oid)
          self.ps1_value = states[int(response[0])]
          self.ps2_value = states[int(response[1])]
          self.fan1_value = states[int(response[2])]
          self.fan2_value = states[int(response[3])]
          self.bat_value = states[int(response[4])]
          self.temp_value = states[int(response[5])]
          self.activity_value1 = activity[int(response[6])]
          self.logfill_value = str(response[7])
docs: Get SNMP values from 1st host.