Advertisement
joker946

alarm_json_example

Mar 29th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     'alarm_actions': [
  3.         u'log: //'
  4.     ],
  5.     'ok_actions': [
  6.        
  7.     ],
  8.     'description': u'instancerunninghot',
  9.     'state': 'insufficientdata',
  10.     'timestamp': datetime.datetime(2015, 3, 29, 22, 33, 7, 851332),
  11.     'enabled': True,
  12.     'state_timestamp': datetime.datetime(2015, 3, 29, 22, 33, 7, 851332),
  13.     'rule': {
  14.         'meter_name': u'cpu_util',
  15.         'evaluation_periods': 3,
  16.         'period': 600,
  17.         'statistic': 'avg',
  18.         'threshold': 70.0,
  19.         'query': [
  20.             {
  21.                 'field': u'resource_id',
  22.                 'type': u'',
  23.                 'value': u'465e284e-7351-4130-b668-bfa7980969f4',
  24.                 'op': 'eq'
  25.             }
  26.         ],
  27.         'comparison_operator': 'gt',
  28.         'exclude_outliers': False
  29.     },
  30.     'alarm_id': u'9b50ae2f-01fa-4ffc-819d-eb30d4110fa0',
  31.     'time_constraints': [
  32.        
  33.     ],
  34.     'insufficient_data_actions': [
  35.        
  36.     ],
  37.     'repeat_actions': False,
  38.     'user_id': u'3d622ea5a70a42d3aae549ddfc1ef355',
  39.     'project_id': u'',
  40.     'type': 'threshold',
  41.     'name': u'cpu_high'
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement