0119同步
This commit is contained in:
@@ -27,14 +27,21 @@ Type=simple
|
||||
ExecStart=/data/prometheus/prometheus \
|
||||
--config.file=/data/prometheus/prometheus.yml \
|
||||
--storage.tsdb.path=/data/prometheus/data \
|
||||
--web.enable-remote-write-receiver \
|
||||
--web.console.templates=/data/prometheus/consoles \
|
||||
--web.console.libraries=/data/prometheus/console_libraries
|
||||
--web.console.libraries=/data/prometheus/console_libraries \
|
||||
--storage.tsdb.retention.time=60d \
|
||||
--storage.tsdb.retention.size=60GB
|
||||
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
# ----------------------------------------
|
||||
|
||||
|
||||
# 创建文件 /etc/systemd/system/alertmanager.service
|
||||
[Unit]
|
||||
Description=Alertmanager
|
||||
|
||||
Reference in New Issue
Block a user