![]() ![]() for i in rules rules.d files_sd do sudo chown -R prometheus:prometheus /etc/prometheus/$ done Set Permissions, Firewall and Start Prometheus ServiceĬhange the ownership of these directories to Prometheus user and group. Replace 1 with the number of vcpus on your server. Remember to edit the line: Environment="GOMAXPROCS=1 config.file=/etc/prometheus/prometheus.yml \ To be able to manage Prometheus service with systemd, you need to explicitly define this unit file. ![]() Create Prometheus systemd Service unit file You can edit the file to your default liking and save it. The group with ID ` to any timeseries scraped from this config. You need to use the option -r or –system with groupadd command. Let’s start by creating the Prometheus system group. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |