code: def check_global_status(flag, name, oid):
      
      # only check the status, if the "no" flag is not set
      if flag:
          # get the data via snmp
          myData = get_data(sess, oid, helper)
          data_summary_output, data_long_output = state_summary(myData, name, normal_state, helper)
          add_output(data_summary_output, data_long_output, helper)
docs: check a global status
      check_global_status(True, "Global Storage", '.1.3.6.1.4.1.232.3.1.3.0')