ESP32 Arduino IDE code. Espressif SDK needed from https://github.com/espressif/arduino-esp32 or from Arduino Boards manager.
PHP script for receiving data from sensors.
Save data to a sqlite database. Create DB if it doesn't exist.
PHP-script for Munin-monitoring (work in progress).
Small sample SQLite database for you.
On FEDORA systems, you need to install php-pdo package with dnf. Also, if you enable public_html (userdir module) and have SELinux enabled, do: chcon -R -t httpd_sys_rw_content_t /home/user/public_html/esp That way, apache can have write access and create a database for you, per espdb.php.