Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 8 additions & 25 deletions public/configurations/dashboards/aarNSG.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"creationDate": "10/26/2016",
"title": "AAR NSG ({{snsg}})",
"visualizations": [
{ "id": "aar-nsg-top10-app", "x": 0, "y": 10, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-top5-talkers-upload", "x": 0, "y": 25, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-top5-talkers-download", "x": 6, "y": 25, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-app-linechart", "x": 6, "y": 10, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-alarm-count-critical", "x": 3, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true},
{ "id": "aar-nsg-alarm-count-major", "x": 5, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true},
{ "id": "aar-nsg-alarm-count-minor", "x": 7, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true}
{ "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true},
{ "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 8, "h": 15, "minW": 1, "minH": 5, "static": true},
{ "id": "aar-nsg-disk-barchart", "x": 8, "y": 8, "w": 4, "h": 15, "minW": 1, "minH":5, "static": true}
],
"links": [
{
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
Expand All @@ -33,22 +33,5 @@
"label": "Alarms",
"url": "/dashboards/aarNSGAlarms"
}
],
"filterOptions": {
"Metric": {
"parameter": "metric",
"default": "TotalBytesCount",
"options": [
{
"label": "Total Bytes",
"value": "TotalBytesCount",
"default": true
},
{
"label": "Total Packets",
"value": "TotalPacketsCount"
}
]
}
}
]
}
4 changes: 4 additions & 0 deletions public/configurations/dashboards/aarNSGAlarms.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
Expand Down
4 changes: 4 additions & 0 deletions public/configurations/dashboards/aarNSGDetail.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
Expand Down
4 changes: 4 additions & 0 deletions public/configurations/dashboards/aarNSGIKE.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
Expand Down
4 changes: 4 additions & 0 deletions public/configurations/dashboards/aarNSGNATTEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
Expand Down
55 changes: 55 additions & 0 deletions public/configurations/dashboards/aarNSGTopApps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"id": "aarNSGTopApps",
"author": "Ronak Shah",
"creationDate": "10/26/2016",
"title": "NSG ({{snsg}}) Top Apps ",
"visualizations": [
{ "id": "aar-nsg-top10-app", "x": 0, "y": 0, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-top5-talkers-upload", "x": 0, "y": 15, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-top5-talkers-download", "x": 6, "y": 15, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true},
{ "id": "aar-nsg-app-linechart", "x": 6, "y": 0, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true}
],
"links": [
{
"label": "Dashboard View",
"url": "/dashboards/aarNSG"
},
{
"label": "Top Apps",
"url": "/dashboards/aarNSGTopApps"
},
{
"label": "Detail View",
"url": "/dashboards/aarNSGDetail"
},
{
"label": "NATT Events",
"url": "/dashboards/aarNSGNATTEvents"
},
{
"label": "IKE",
"url": "/dashboards/aarNSGIKE"
},
{
"label": "Alarms",
"url": "/dashboards/aarNSGAlarms"
}
],
"filterOptions": {
"Metric": {
"parameter": "metric",
"default": "TotalBytesCount",
"options": [
{
"label": "Total Bytes",
"value": "TotalBytesCount",
"default": true
},
{
"label": "Total Packets",
"value": "TotalPacketsCount"
}
]
}
}
}
27 changes: 27 additions & 0 deletions public/configurations/queries/aar-nsg-disk-barchart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id":"aar-nsg-disk-barchart",
"title":"TBD",
"service":"elasticsearch",
"query":{
"index":"{{index:nuage_sysmon}}",
"type":"{{type:nuage_doc_type}}",
"body":{
"size":1,
"sort":[
{"timestamp":{"order":"desc"}}
],
"query":{
"bool":{
"must":[
{
"term": {
"system_id": "{{nsgSystemId}}"
}
}
]
}
}
}
},
"tabify":"nsgDiskUsage"
}
52 changes: 52 additions & 0 deletions public/configurations/queries/aar-nsg-resource-linechart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"id":"aar-nsg-resource-linechart",
"title":"TBD",
"service":"elasticsearch",
"query":{
"index":"{{index:nuage_sysmon}}",
"type":"{{type:nuage_doc_type}}",
"body":{
"size":0,
"query":{
"bool":{
"must":[
{
"range":{
"timestamp":{
"gte":"{{startTime:now-24h}}",
"lte":"{{endTime:now}}",
"format":"epoch_millis"
}
}
},
{
"term": {
"system_id": "{{nsgSystemId}}"
}
}
]
}
},
"aggs": {
"ts": {
"date_histogram": {
"field": "timestamp",
"interval": "{{interval:1h}}"
},
"aggs": {
"CPU": {
"avg": {
"field": "cpu"
}
},
"MEMORY": {
"avg": {
"field": "memory"
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"title": "NSGs Health",
"query": "aar-enterprise-geomap-text",
"graph": "MultiColumnStatusTextGraph",
"description":"Quick View of the Critical alarms for this NSG in the VSD dashboard",
"showTitleBar":false,
"data": {
"targetedColumns": ["alarmedNSGCount.critical", "alarmedNSGCount.major", "alarmedNSGCount.healthy", "inactiveNSGCount"],
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

34 changes: 34 additions & 0 deletions public/configurations/visualizations/aar-nsg-alarm-text.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"id": "aar-nsg-alarm-text",
"title": "NSG Health",
"query": "aar-nsg-alarm-summary",
"graph": "MultiColumnStatusTextGraph",
"description":"Quick View of the Critical alarms for this NSG in the VSD dashboard",
"showTitleBar":false,
"data": {
"targetedColumns": ["criticalAlarmsCount", "majorAlarmsCount", "minorAlarmsCount"],
"colors":[
"#D9070A",
"#FFBF02",
"#62AC00"
],
"texts": [
"Critical Alarms",
"Major Alarms",
"Healthy NSGs"
],
"margin": {
"top": "25px",
"bottom": "auto",
"left": "auto",
"right": "auto"
},
"disableTitle": true
},
"listeners": [{
"redirect": "/dashboards/aarNSGAlarms",
"params": {
"nsgId": "gatewayID"
}
}]
}
28 changes: 28 additions & 0 deletions public/configurations/visualizations/aar-nsg-disk-barchart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"id": "aar-nsg-disk-barchart",
"graph": "DynamicBarGraph",
"title": "Disk Utilisation on NSG",
"description": "Bar graph displays disk usage for two disks - /nuagetmpfs and /home",
"author": "Bharat Mukheja",
"creationDate": "11/26/2018",
"data": {
"brush": 7,
"tooltip": [
{ "column": "name", "label": "Disk" },
{ "column": "field", "label": "Type" },
{ "column": "value", "label": "Value (%)", "format": ",.2f"}
],
"colors":[
"#b3d645",
"#f76159"
],
"yLabel": "Disk",
"xLabel": "Usage",
"xTickFormat": ".2s",
"yColumn": "name",
"stackColumn":"field",
"xColumn": "value",
"orientation":"horizontal"
},
"query": "aar-nsg-disk-barchart"
}
Loading