code: def process_alarms(self, snmp_data):
          "Build list with active alarms"
          self.active_alarms = {}
          for i in range(0, len(self.models[self.modem_type]['alarms'])):
              mib_name = self.models[self.modem_type]['alarms'][i]
              conv = status_mib[mib_name]['conv']
              self.active_alarms[mib_name] = conv(snmp_data[i]f process_alarms(self, snmp_data):
          "Build list with active alarms"
          self.active_alarms = {}
          for i in range(0, len(self.models[self.modem_type]['alarms'])):
              mib_name = self.models[self.modem_type]['alarms'][i]
              conv = status_mib[mib_name]['conv']
              self.active_alarms[mib_name] = conv(snmp_data[i])
docs: Build list with active alarms