This video walks you through the concept of creating a bash script, getting that data into Zabbix and finally, viewing that data in Grafana.
The bash script discussed in the video can be downloaded here:
https://cloud.compumatter.biz/s/BgB5z...
Other recommended viewing:
• Creating Custom Low Level Discovery R...
https://sbcode.net/zabbix/custom-lld/