code: def clear_alarms(alarm):
      '''
      Clear (acknowledge) an alarm event. The arguments are “all” for all current
      alarms, a specific alarm number (e.g. ‘‘1’‘), or an alarm string identifier
      (e.g. ‘’MGMT_ALARM_PROXY_CONFIG_ERROR’‘).
  
      .. code-block:: bash
  
          salt '*' trafficserver.clear_alarms [all | #event | name]
      '''
  
      if _TRAFFICCTL:
          cmd = _traffic_ctl('alarm', 'clear', alarm)
      else:
          cmd = _traffic_line('--clear_alarms', alarm)
  
      return _subprocess(cmdf clear_alarms(alarm):
      '''
      Clear (acknowledge) an alarm event. The arguments are “all” for all current
      alarms, a specific alarm number (e.g. ‘‘1’‘), or an alarm string identifier
      (e.g. ‘’MGMT_ALARM_PROXY_CONFIG_ERROR’‘).
  
      .. code-block:: bash
  
          salt '*' trafficserver.clear_alarms [all | #event | name]
      '''
  
      if _TRAFFICCTL:
          cmd = _traffic_ctl('alarm', 'clear', alarm)
      else:
          cmd = _traffic_line('--clear_alarms', alarm)
  
      return _subprocess(cmd)
docs: Clear (acknowledge) an alarm event. The arguments are “all” for all current
      alarms, a specific alarm number (e.g. ‘‘1’‘), or an alarm string identifier
      (e.g. ‘’MGMT_ALARM_PROXY_CONFIG_ERROR’‘).
  
      .. code-block:: bash
  
          salt '*' trafficserver.clear_alarms [all | #event | name]