CentOS8.2安装配置Prometheus和node_exporter详解

CentOS8.2安装配置Prometheus和node_exporter详解步骤1:创建一个Prometheus用户和组首先,我们将为Prometheus创建一个系统用户。执行以下命令以实现此目的。# useradd -m -s /bin/false prometheus# id promethe


Node Exporter 开启 TLS认证

Node Exporter 开启 TLS认证生成证书从 GO 1.15 开始,X509 不能用了 ,需要用到 SAN 证书生成 CA 根证书openssl genrsa -out ca.key 2048openssl req -new -x509 -days 3650 -key ca.key -ou