https://github.com/alowry721/raspbi/blob/master/wikis/mariadb.md
Taken from https://pimylifeup.com/raspberry-pi-phpmyadmin/
Include PHPMyAdmin’s configuration and allow it to be loaded in and listened to by Apache.
Include /etc/phpmyadmin/apache.conf
sudo service apache2 restart
cron -e
Use crontab guru to set correct format for how often you want job to run
PYTHONPATH=/home/$USER/metrics /home/$USER/py3_venv/bin/python -m main
sudo apt-get install snmp-mibs-downloader sudo download-mibs
We want to enable loading of MIBs by default. We do this by modifying:
sudo nano /etc/snmp/snmp.conf
And adding the line:
mibs +ALL
This is for pulling snmp from a remote server. We want to modify the SNMP daemon running in background.
sudo nano /etc/snmp/snmpd.conf
comment out the following:
agentAddress udp:127.0.0.1:161
add the following:
agentAddress udp:161
restart the dameon
sudo service snmpd restart