def alarms():
 if _TRAFFICCTL:
  cmd = _traffic_ctl('alarm', 'list')
 else:
  cmd = _traffic_line('--alarms')
 log.debug('Running: %s', cmd)
 return _subprocess(cmd)

def alarms ( ) : if _TRAFFICCTL : cmd = _traffic_ctl ( 'alarm' , 'list' ) else : cmd = _traffic_line ( '--alarms' ) log . debug ( 'Running: %s' , cmd ) return _subprocess ( cmd )
list all alarm events that have not been acknowledged .