Skip to content

Instantly share code, notes, and snippets.

@avaughan89
Created March 31, 2017 21:40
Show Gist options
  • Save avaughan89/c357bdd23eab92d69864204ee73612af to your computer and use it in GitHub Desktop.
Save avaughan89/c357bdd23eab92d69864204ee73612af to your computer and use it in GitHub Desktop.
Vsphere Dashboard Template Demo
{'board_title': 'VMware vSphere Overview - Stines', 'read_only': False, 'isIntegration': False, 'board_bgtype': 'board_graph', 'created': '2016-12-15T23:08:02.724042+00:00', 'original_title': 'VMware vSphere Overview - Stines', 'modified': '2016-12-15T23:30:16.699896+00:00', 'disableEditing': False, 'height': 106, 'width': '100%', 'template_variables': [{'default': '*', 'prefix': 'vsphere_host', 'name': 'ESXi'}], 'widgets': [{'sizing': 'fit', 'board_id': 144659, 'title_size': 16, 'title': True, 'url': 'https://thatservernerd.files.wordpress.com/2016/05/vspherelogo.png?w=660', 'type': 'image', 'title_align': 'left', 'title_text': u'', 'height': 11, 'width': 32, 'y': 1, 'x': 1, 'margin': u''}, {'board_id': 144659, 'autoscale': True, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'VM count', 'height': 9, 'tile_def': {'viz': 'query_value', 'requests': [{'q': 'avg:vsphere.vm.count{*}', 'aggregator': 'last', 'conditional_formats': [{'palette': 'white_on_red', 'comparator': '>', 'value': None}, {'palette': 'white_on_yellow', 'comparator': '>=', 'value': None}, {'palette': 'white_on_green', 'comparator': '>=', 'value': u''}]}], 'text_align': 'center', 'precision': '0', 'custom_unit': None}, 'width': 15, 'timeframe': '10m', 'y': 1, 'x': 35, 'legend_size': '0', 'type': 'query_value', 'legend': False}, {'board_id': 144659, 'autoscale': True, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'Ballooning by VM', 'height': 9, 'tile_def': {'text_align': 'center', 'autoscale': True, 'custom_unit': None, 'precision': '2', 'viz': 'query_value', 'requests': [{'q': 'avg:vsphere.mem.vmmemctl{vsphere_type:vm}', 'aggregator': 'avg', 'conditional_formats': [{'palette': 'white_on_red', 'comparator': '>', 'value': None}, {'value': '0', 'custom_bg_color': '#000000', 'palette': 'green_on_white', 'custom_fg_color': '#2a1e5e', 'comparator': '<='}, {'palette': 'red_on_white', 'value': '0', 'custom_fg_color': '#000000', 'comparator': '>='}]}]}, 'width': 15, 'timeframe': '1h', 'y': 1, 'x': 52, 'legend_size': '0', 'type': 'query_value', 'legend': False}, {'board_id': 144659, 'autoscale': True, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'Avg Time CPU Ready', 'height': 9, 'tile_def': {'viz': 'query_value', 'requests': [{'q': 'avg:vsphere.cpu.ready{vsphere_type:vm}', 'aggregator': 'avg', 'conditional_formats': [{'palette': 'white_on_red', 'comparator': '<=', 'value': '10'}, {'palette': 'white_on_yellow', 'comparator': '<=', 'value': '25'}, {'custom_bg_color': '#000000', 'palette': 'yellow_on_white', 'value': '25', 'comparator': '>'}]}], 'autoscale': False, 'custom_unit': u'', 'text_align': 'left'}, 'width': 15, 'timeframe': '1h', 'y': 1, 'x': 69, 'legend_size': '0', 'type': 'query_value', 'legend': False}, {'board_id': 144659, 'title_size': 13, 'tags': ['*'], 'title': True, 'title_align': 'center', 'text_align': 'center', 'title_text': 'Status', 'height': 11, 'width': 15, 'group_by': [], 'timeframe': '30m', 'y': 1, 'x': 86, 'text_size': 'auto', 'type': 'check_status', 'check': 'vcenter.can_connect', 'group': 'vcenter_host:192.168.199.5,vcenter_server:main-vcenter,host:ravello.vmware.estib.1', 'grouping': 'check'}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'CPU MHZ Demand per ESXi', 'height': 16, 'tile_def': {'viz': 'timeseries', 'requests': [{'q': 'avg:vsphere.cpu.usagemhz{$ESXi} by {host}', 'aggregator': 'avg', 'style': {'palette': 'cool'}, 'type': 'area', 'conditional_formats': []}, {'q': 'max:vsphere.cpu.usagemhz{$ESXi}', 'aggregator': 'avg', 'style': {'width': 'normal', 'palette': 'warm'}, 'type': 'line', 'conditional_formats': []}], 'events': [{'q': 'sources:vsphere '}]}, 'width': 58, 'timeframe': '1h', 'y': 14, 'x': 1, 'legend_size': '0', 'type': 'timeseries', 'legend': False}, {'board_id': 144659, 'x': 61, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'CPU % utilization per VM by ESXi', 'height': 16, 'tile_def': {'style': {'palette': 'blue_to_green', 'paletteFlip': False}, 'group': ['vsphere_host'], 'noMetricHosts': False, 'viz': 'hostmap', 'scope': ['$ESXi'], 'requests': [{'q': 'avg:vsphere.cpu.usage{$ESXi} by {host}', 'type': 'fill'}], 'groupby': None, 'noGroupHosts': False}, 'width': 40, 'timeframe': '1h', 'y': 14, 'query': 'avg:system.load.1{*} by {host}', 'legend_size': None, 'type': 'hostmap', 'legend': None, 'add_timeframe': False}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'Disk Latency over Datastore per ESXi', 'height': 16, 'tile_def': {'viz': 'timeseries', 'requests': [{'q': 'avg:vsphere.disk.totalLatency{vsphere_type:host} by {host}', 'aggregator': 'avg', 'style': {'palette': 'purple'}, 'type': 'area', 'conditional_formats': []}], 'events': [{'q': 'sources:vsphere '}], 'markers': [{'label': 'problem', 'type': 'warning solid', 'value': 'y > 20', 'min': '20'}, {'max': '20', 'label': 'warning', 'type': 'info solid', 'value': '10 < y < 20', 'min': '10'}, {'max': '10', 'type': 'ok solid', 'value': 'y < 10', 'label': 'OK'}]}, 'width': 58, 'timeframe': '1h', 'y': 34, 'x': 1, 'legend_size': '0', 'type': 'timeseries', 'legend': False}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'CPU % utilization across VMs', 'height': 16, 'tile_def': {'viz': 'heatmap', 'requests': [{'q': 'avg:vsphere.cpu.usage{$ESXi,vsphere_type:vm} by {host}', 'aggregator': 'avg', 'conditional_formats': [], 'type': 'line', 'style': {'palette': 'warm'}}], 'events': [{'q': 'sources:vsphere '}]}, 'width': 40, 'timeframe': '1h', 'y': 34, 'x': 61, 'legend_size': '0', 'type': 'timeseries', 'legend': False}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'Memory Overhead Allocation per VM', 'height': 16, 'tile_def': {'viz': 'timeseries', 'requests': [{'q': 'avg:vsphere.mem.overhead{$ESXi,vsphere_type:vm} by {host}', 'aggregator': 'avg', 'style': {'palette': 'blue'}, 'type': 'area', 'conditional_formats': []}], 'events': [{'q': 'sources:vsphere '}]}, 'width': 58, 'timeframe': '1h', 'y': 54, 'x': 1, 'legend_size': '0', 'type': 'timeseries', 'legend': False}, {'board_id': 144659, 'x': 61, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'vSphere Event Timeline', 'height': 9, 'width': 40, 'timeframe': '1d', 'y': 54, 'query': 'sources:vsphere ', 'type': 'event_timeline'}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'CPU Consumed by VM', 'height': 27, 'tile_def': {'viz': 'toplist', 'requests': [{'q': "top(avg:vsphere.cpu.usagemhz{vsphere_type:vm,$ESXi} by {host}, 10, 'mean', 'desc')", 'style': {'palette': 'green'}, 'conditional_formats': []}]}, 'width': 28, 'timeframe': '1h', 'y': 74, 'x': 1, 'legend_size': '0', 'type': 'toplist', 'legend': False}, {'board_id': 144659, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'Memory Loaded by VM', 'height': 27, 'tile_def': {'viz': 'toplist', 'requests': [{'q': "top(avg:vsphere.mem.consumed{vsphere_type:vm,$ESXi} by {host}, 10, 'mean', 'desc')", 'style': {'palette': 'cool'}, 'conditional_formats': []}]}, 'width': 28, 'timeframe': '1h', 'y': 74, 'x': 31, 'legend_size': '0', 'type': 'toplist', 'legend': False}, {'board_id': 144659, 'x': 61, 'title_size': 13, 'title': True, 'title_align': 'left', 'title_text': 'vSphere Event Stream', 'height': 34, 'width': 40, 'timeframe': '1w', 'y': 67, 'query': 'sources:vsphere ', 'type': 'event_stream', 'event_size': 's'}], 'id': 144659, 'title_edited': False, 'isShared': False}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment