Monitoring Linux Processes Using Prometheus and Grafana
devconnected.com
devconnected.com
Besides that, Telegraf have builtin how to gather a lot of metrics, that can give a better insight of what is happening in your server and all its components. And Grafana have ready to download a lot of nice dashboards to display that information.
Also, if you want to practice how to send your own and very particular metrics with shell script, InfluxDB's line protocol is very simple and you can just use curl to send them with shell scripts.