code: def check_temperature_sensors():
          
      # walk all temperature sensor values and thresholds
      env_temp = walk_data(sess, oid_env_temp, helper)[0]
      env_temp_thresh = walk_data(sess, oid_env_temp_thres, helper)[0]
      env_temp_zipped = zip(env_temp, env_temp_thresh)
  
      for x, data in enumerate(env_temp_zipped, 1):
          # skip the check if -99 or 0 is in the value or threshold, because these data we can not use
          if '-99' not  in data and '0' not in data:
              #check if the value is over the treshold
              if int(data[0]) > int(data[1]):
                  helper.add_summary('Temperature at sensor %d above threshold (%s / %s)' % (x, data[0], data[1]))
                  helper.status(critical)
              # always add the sensor to the output
              helper.add_long_output('Temperature %d: %s Celsius (threshold: %s Celsius)' % (x, data[0], data[1]))
              # for the first sensor (envirnoment temperature, we add performance data)
              if x == 1:
                  helper.add_metric("Environment Temperature", data[0], '', ":" + data[1], "", "", "Celsius")
docs: Check all temperature sensors of the server
      All sensors with the value or threshold is -99 or 0 are ignored