In this video I show you how to a build a Grafana dashboard from scratch that will monitor a virtual machine's CPU utilization, Memory Usage, Disk Usage, and Network Traffic using the Node-Exporter data collector and Prometheus as the Data Source
USED DISK SPACE QUERY: node_filesystem_size_bytes{job="jenkins-node",instance="localhost:9100",device!~"/dev/loop.*", device!~"tmpfs|nsfs", device!="gvfsd-fuse"} - node_filesystem_avail_bytes{job="jenkins-node",instance="localhost:9100"}
AVAILABLE DISK SPACE QUERY: node_filesystem_avail_bytes{job="jenkins-node",instance="localhost:9100",device!~"/dev/loop.*",device!~"tmpfs|nsfs",device!="gvfsd-fuse"}
JSON format of dashboard: [ Ссылка ]
TOC:
Introduction: 00:00 - 1:44
CPU metric: 1:45 - 09:03
Memory Usage: 09:04 - 14:15
Disk Usage: 14:16 - 21:20
Network Traffic: 21:21 - 25:06
Conclusion: 25:07 - 26:02
![](https://i.ytimg.com/vi/YUabB_7H710/maxresdefault.jpg)