49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"id": "ff41d044-f61a-4522-8de7-9e39e3a1b5de",
|
|
"measurement": "netstat",
|
|
"app": "system",
|
|
"autoflow": true,
|
|
"cells": [
|
|
{
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 4,
|
|
"h": 4,
|
|
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
|
|
"name": "System - Open Sockets",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"tcp_established\") AS \"tcp_established\" FROM \":db:\".\":rp:\".\"netstat\"",
|
|
"groupbys": [],
|
|
"wheres": []
|
|
},
|
|
{
|
|
"query": "SELECT mean(\"udp_socket\") AS \"udp_socket\" FROM \":db:\".\":rp:\".\"netstat\"",
|
|
"groupbys": [],
|
|
"wheres": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"x": 4,
|
|
"y": 0,
|
|
"w": 4,
|
|
"h": 4,
|
|
"i": "63503235-a588-49a7-ae0a-fb015c888e5b",
|
|
"name": "System - Sockets Created/Second ",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT non_negative_derivative(max(\"tcp_established\")) AS \"tcp_established\" FROM \":db:\".\":rp:\".\"netstat\"",
|
|
"groupbys": [],
|
|
"wheres": []
|
|
},
|
|
{
|
|
"query": "SELECT non_negative_derivative(max(\"udp_socket\")) AS \"udp_socket\" FROM \":db:\".\":rp:\".\"netstat\"",
|
|
"groupbys": [],
|
|
"wheres": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|