Commit b563a0c6 authored by MaksimSmile13's avatar MaksimSmile13

Add Radio Oper/Admin Status DashBoards

parent 005daf7d
{
"title": "Radio | Status | Admin",
"aliasColors": {},
"bars": false,
"datasource": null,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": "97bc1951-7466-43a8-b91d-22c470082d85",
"legend": {
"rightSide": false,
"avg": false,
"min": true,
"max": true,
"show": true,
"current": true,
"values": true,
"alignAsTable": true,
"total": false,
"sortDesc": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"decimals": 0,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"description": "This object sets the desired status of the transmitter\nValue other(1) not settable.\nEspecially for far end:\ntxOff(2), requests far end transmitter to be turned off.\ntxOn(3), requests far end transmitter to be turned on.\nDefault value:txOff(2) - near end.\nother(1) - far end.",
"targets": [
{
"dateTimeColDataType": "ts",
"datetimeLoading": false,
"database": "noc",
"dateLoading": false,
"tableLoading": false,
"dateColDataType": "date",
"table": "interface",
"intervalFactor": 1,
"query": "SELECT \n t, \n groupArray((iface, \"Admin Status\")) AS groupArr \nFROM (\n SELECT $timeSeries as t, \n arrayStringConcat(path,'.') as iface, \n avg(radio_status_admin) as `Admin Status` \n FROM \n $table \n WHERE \n managed_object=$bi_id \n and $timeFilter \n and radio_status_admin != 0 \n GROUP BY arrayStringConcat(path,'.'), t ORDER BY t) \nGROUP BY t \nORDER BY t ASC",
"refId": "A",
"resultFormat": "time_series"
}
],
"timeFrom": null,
"timeShift": null,
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"xaxis": {
"show": true
},
"y-axis": true,
"yaxes": [
{
"logBase": 1,
"format": "none",
"max": null,
"min": null,
"label": null,
"show": true,
"decimals": null
},
{
"logBase": 1,
"format": "short",
"max": null,
"min": null,
"label": null,
"show": false,
"decimals": 0
}
],
}
{
"title": "Radio | Status | Oper",
"aliasColors": {},
"bars": false,
"datasource": null,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": "97bc1951-7466-43a8-b91d-22c470082d86",
"legend": {
"rightSide": false,
"avg": false,
"min": true,
"max": true,
"show": true,
"current": true,
"values": true,
"alignAsTable": true,
"total": false,
"sortDesc": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"decimals": 0,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"description": "This object shows the operational status of the transmitter \n RFTxOperStatus (INTEGER) {other(1),\n txOff(2),\n txOn(3),\n txStandby(4)\n}",
"targets": [
{
"dateTimeColDataType": "ts",
"datetimeLoading": false,
"database": "noc",
"dateLoading": false,
"tableLoading": false,
"dateColDataType": "date",
"table": "interface",
"intervalFactor": 1,
"query": "SELECT \n t, \n groupArray((iface, \"Oper Status\")) AS groupArr \nFROM (\n SELECT $timeSeries as t, \n arrayStringConcat(path,'.') as iface, \n avg(radio_status_oper) as `Oper Status` \n FROM \n $table \n WHERE \n managed_object=$bi_id \n and $timeFilter \n and radio_status_oper != 0 \n GROUP BY arrayStringConcat(path,'.'), t ORDER BY t) \nGROUP BY t \nORDER BY t ASC",
"refId": "A",
"resultFormat": "time_series"
}
],
"timeFrom": null,
"timeShift": null,
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"xaxis": {
"show": true
},
"y-axis": true,
"yaxes": [
{
"logBase": 1,
"format": "none",
"max": null,
"min": null,
"label": null,
"show": true,
"decimals": null
},
{
"logBase": 1,
"format": "short",
"max": null,
"min": null,
"label": null,
"show": false,
"decimals": 0
}
],
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment