![]() Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 16:34:37 UTC 15s ago Edit the file /etc/prometheus/prometheus.yml to suit your purposes.To see what ports are being used to listen on, run netstat -tulpn | grep LISTEN I would recommend you first check which ports are already in use and assign maybe a less obvious port number. config.file=/etc/prometheus/prometheus.yml \ $ sudo chmod -R 775 /etc/prometheus/ /var/lib/prometheus/Ĭonfigure Prometheus to be run as a systemd service $ sudo chown -R prometheus:prometheus /etc/prometheus/ /var/lib/prometheus/ $ sudo useradd -s /sbin/nologin -system -g prometheus prometheus ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |