|
[ |
|
{ |
|
"id": "8684aa2d.4ad3c8", |
|
"type": "tab", |
|
"label": "Vaibhav", |
|
"disabled": false, |
|
"info": "" |
|
}, |
|
{ |
|
"id": "7d9c6645.877658", |
|
"type": "ui_gauge", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"group": "b9fef2ae.a8e5b", |
|
"order": 2, |
|
"width": "2", |
|
"height": "2", |
|
"gtype": "gage", |
|
"title": "FWALL 8.8.8.8", |
|
"label": "ms", |
|
"format": "{{value}}", |
|
"min": 0, |
|
"max": "1000", |
|
"colors": [ |
|
"#00b500", |
|
"#e6e600", |
|
"#ca3838" |
|
], |
|
"seg1": "", |
|
"seg2": "", |
|
"x": 300, |
|
"y": 100, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "b952481d.c99a38", |
|
"type": "catch", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"scope": null, |
|
"uncaught": false, |
|
"x": 2200, |
|
"y": 3480, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "e26cbe4d.6377f", |
|
"type": "ui_gauge", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"group": "b9fef2ae.a8e5b", |
|
"order": 1, |
|
"width": "2", |
|
"height": "2", |
|
"gtype": "gage", |
|
"title": "OpenDNS 4.2.2.2", |
|
"label": "ms", |
|
"format": "{{value}}", |
|
"min": 0, |
|
"max": "1000", |
|
"colors": [ |
|
"#00b500", |
|
"#e6e600", |
|
"#ca3838" |
|
], |
|
"seg1": "", |
|
"seg2": "", |
|
"x": 310, |
|
"y": 40, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "adce75ee.338db8", |
|
"type": "function", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"func": "\nvar trueMsg = { payload: true };\nvar falseMsg = { payload: false };\n\n\nif(msg.payload===false)\n{\n return falseMsg; \n}\nelse{\n return trueMsg; \n\n}\n\n\n", |
|
"outputs": 1, |
|
"noerr": 0, |
|
"x": 290, |
|
"y": 320, |
|
"wires": [ |
|
[ |
|
"88b46885.343c08", |
|
"15125a35.8558a6" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "4b3d6809.f3cb38", |
|
"type": "function", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"func": "\nvar trueMsg = { payload: true };\nvar falseMsg = { payload: false };\n\n\nif(msg.payload===false)\n{\n return falseMsg; \n}\nelse{\n return trueMsg; \n\n}\n\n\n", |
|
"outputs": 1, |
|
"noerr": 0, |
|
"x": 290, |
|
"y": 380, |
|
"wires": [ |
|
[ |
|
"1e38e7b9.dc44d8", |
|
"15125a35.8558a6" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "f1ddca2e.6b6b78", |
|
"type": "ping", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "FIREWALL", |
|
"host": "8.8.8.8", |
|
"timer": "5", |
|
"inputs": 0, |
|
"x": 80, |
|
"y": 120, |
|
"wires": [ |
|
[ |
|
"7d9c6645.877658", |
|
"4b3d6809.f3cb38" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "b9d23c06.abb49", |
|
"type": "ping", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "OpenDNS", |
|
"host": "4.2.2.2", |
|
"timer": "5", |
|
"inputs": 0, |
|
"x": 80, |
|
"y": 60, |
|
"wires": [ |
|
[ |
|
"e26cbe4d.6377f", |
|
"adce75ee.338db8" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "5a693225.73570c", |
|
"type": "ui_gauge", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"group": "b9fef2ae.a8e5b", |
|
"order": 4, |
|
"width": "2", |
|
"height": "2", |
|
"gtype": "gage", |
|
"title": "FWALL google", |
|
"label": "ms", |
|
"format": "{{value}}", |
|
"min": 0, |
|
"max": "1000", |
|
"colors": [ |
|
"#00b500", |
|
"#e6e600", |
|
"#ca3838" |
|
], |
|
"seg1": "", |
|
"seg2": "", |
|
"x": 300, |
|
"y": 220, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "a0bd4086.6bc19", |
|
"type": "ui_gauge", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"group": "b9fef2ae.a8e5b", |
|
"order": 3, |
|
"width": "2", |
|
"height": "2", |
|
"gtype": "gage", |
|
"title": "Local IP 192.168.123.1", |
|
"label": "ms", |
|
"format": "{{value}}", |
|
"min": 0, |
|
"max": "1000", |
|
"colors": [ |
|
"#00b500", |
|
"#e6e600", |
|
"#ca3838" |
|
], |
|
"seg1": "", |
|
"seg2": "", |
|
"x": 330, |
|
"y": 160, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "ba970080.cb87c", |
|
"type": "function", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"func": "\nvar trueMsg = { payload: true };\nvar falseMsg = { payload: false };\n\n\nif(msg.payload===false)\n{\n return falseMsg; \n}\nelse{\n return trueMsg; \n\n}\n\n\n", |
|
"outputs": 1, |
|
"noerr": 0, |
|
"x": 290, |
|
"y": 440, |
|
"wires": [ |
|
[ |
|
"801ba502.59c728", |
|
"15125a35.8558a6" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "2a761261.8e489e", |
|
"type": "function", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "", |
|
"func": "\nvar trueMsg = { payload: true };\nvar falseMsg = { payload: false };\n\n\nif(msg.payload===false)\n{\n return falseMsg; \n}\nelse{\n return trueMsg; \n\n}\n\n\n", |
|
"outputs": 1, |
|
"noerr": 0, |
|
"x": 290, |
|
"y": 500, |
|
"wires": [ |
|
[ |
|
"4af1d0de.5a49a", |
|
"15125a35.8558a6" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "a4cfae68.b91a3", |
|
"type": "ping", |
|
"z": "8684aa2d.4ad3c8", |
|
"name": "FIREWALL2", |
|
"host": "www.google.com", |
|
"timer": "5", |
|
"inputs": 0, |
|
"x": 90, |
|
"y": 240, |
|
"wires": [ |
|
[ |
|
"5a693225.73570c", |
|
"2a761261.8e489e" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "a438fa55.5dc958", |
|
"type": "ping", |
|
"z": "8684aa2d.4ad3c8", |
|
"mode": null, |
|
"name": "local IP", |
|
"host": "192.168.123.1", |
|
"timer": "5", |
|
"inputs": 0, |
|
"x": 70, |
|
"y": 180, |
|
"wires": [ |
|
[ |
|
"a0bd4086.6bc19", |
|
"ba970080.cb87c" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "801ba502.59c728", |
|
"type": "ui_led", |
|
"z": "8684aa2d.4ad3c8", |
|
"group": "9511c355.41f6c", |
|
"order": 4, |
|
"width": "4", |
|
"height": "1", |
|
"label": "Local IP 192.168.123.1", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "green", |
|
"value": "true", |
|
"valueType": "bool" |
|
}, |
|
{ |
|
"color": "red", |
|
"value": "false", |
|
"valueType": "bool" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"name": "Local IP 192.168.123.1", |
|
"x": 510, |
|
"y": 440, |
|
"wires": [], |
|
"info": "HELLO" |
|
}, |
|
{ |
|
"id": "4af1d0de.5a49a", |
|
"type": "ui_led", |
|
"z": "8684aa2d.4ad3c8", |
|
"group": "9511c355.41f6c", |
|
"order": 5, |
|
"width": "4", |
|
"height": "1", |
|
"label": "FWALL google", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "green", |
|
"value": "true", |
|
"valueType": "bool" |
|
}, |
|
{ |
|
"color": "red", |
|
"value": "false", |
|
"valueType": "bool" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"name": "FWALL google", |
|
"x": 480, |
|
"y": 500, |
|
"wires": [], |
|
"info": "HELLO" |
|
}, |
|
{ |
|
"id": "88b46885.343c08", |
|
"type": "ui_led", |
|
"z": "8684aa2d.4ad3c8", |
|
"group": "9511c355.41f6c", |
|
"order": 2, |
|
"width": "4", |
|
"height": "1", |
|
"label": "OpenDNS 4.2.2.2", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "green", |
|
"value": "true", |
|
"valueType": "bool" |
|
}, |
|
{ |
|
"color": "red", |
|
"value": "false", |
|
"valueType": "bool" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"name": "OpenDNS 4.2.2.2", |
|
"x": 490, |
|
"y": 320, |
|
"wires": [], |
|
"info": "HELLO" |
|
}, |
|
{ |
|
"id": "1e38e7b9.dc44d8", |
|
"type": "ui_led", |
|
"z": "8684aa2d.4ad3c8", |
|
"group": "9511c355.41f6c", |
|
"order": 3, |
|
"width": "4", |
|
"height": "1", |
|
"label": "FWALL 8.8.8.8", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "green", |
|
"value": "true", |
|
"valueType": "bool" |
|
}, |
|
{ |
|
"color": "red", |
|
"value": "false", |
|
"valueType": "bool" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"name": "FWALL 8.8.8.8", |
|
"x": 480, |
|
"y": 380, |
|
"wires": [], |
|
"info": "HELLO" |
|
}, |
|
{ |
|
"id": "15125a35.8558a6", |
|
"type": "ui_template", |
|
"z": "8684aa2d.4ad3c8", |
|
"group": "9511c355.41f6c", |
|
"name": "Overall status", |
|
"order": 1, |
|
"width": 0, |
|
"height": 0, |
|
"format": "<style>\n #btn2 {\n -moz-border-radius: 10px;\n -webkit-border-radius: 10px;\n display: inline;\n}\n</style>\n\n<div id = \"btn2\" style=\"font-size:10px;width: 100px; margin:0 auto;height: 15px;padding-top:5px;\"\n ng-style=\"{'background-color': msg.payload === false ? 'red' : 'green'}\">\n <center>{{msg.payload === false ? 'DOWN' : ' UP '}}</center>\n</div>\n", |
|
"storeOutMessages": true, |
|
"fwdInMessages": true, |
|
"resendOnRefresh": true, |
|
"templateScope": "local", |
|
"x": 720, |
|
"y": 380, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "b9fef2ae.a8e5b", |
|
"type": "ui_group", |
|
"z": "", |
|
"name": "Latency Guage", |
|
"tab": "ca0f03cd.f639c", |
|
"order": 2, |
|
"disp": true, |
|
"width": "4", |
|
"collapse": true |
|
}, |
|
{ |
|
"id": "9511c355.41f6c", |
|
"type": "ui_group", |
|
"z": "", |
|
"name": "SERVER RACK", |
|
"tab": "ca0f03cd.f639c", |
|
"order": 1, |
|
"disp": true, |
|
"width": "4", |
|
"collapse": true |
|
}, |
|
{ |
|
"id": "ca0f03cd.f639c", |
|
"type": "ui_tab", |
|
"z": "", |
|
"name": "Quick Overview", |
|
"icon": "dashboard", |
|
"order": 2, |
|
"disabled": false, |
|
"hidden": false |
|
} |
|
] |