mysql-exporter redis-exporter

[Unit]

Description=mysqld_exporter

[Service]

ExecStart=/data/mysqld_exporter/mysqld_exporter --config.my-cnf /etc/mysqlexporter.cnf --web.listen-address=0.0.0.0:9104 \

--collect.slave_status \

--collect.binlog_size \

--collect.info_schema.processlist \

--collect.info_schema.innodb_metrics \

--collect.engine_innodb_status \

--collect.perf_schema.file_events \

--collect.perf_schema.replication_group_member_stats

Restart=on-failure

[Install]

WantedBy=multi-user.target

redis:

[Unit]

Description=Redis Exporter

After=network.target

[Service]

ExecStart=/usr/local/redis_exporter/redis_exporter -redis.addr=localhost:6381,localhost:6382 -redis.password=xxxxxx -web.listen-address=:9121

Restart=on-failure

[Install]

WantedBy=multi-user.target

相关推荐
夜泉_ly1 小时前
MySQL -安装与初识
数据库·mysql
qq_529835352 小时前
对计算机中缓存的理解和使用Redis作为缓存
数据库·redis·缓存
月光水岸New4 小时前
Ubuntu 中建的mysql数据库使用Navicat for MySQL连接不上
数据库·mysql·ubuntu
狄加山6754 小时前
数据库基础1
数据库
我爱松子鱼4 小时前
mysql之规则优化器RBO
数据库·mysql
chengooooooo5 小时前
苍穹外卖day8 地址上传 用户下单 订单支付
java·服务器·数据库
Rverdoser6 小时前
【SQL】多表查询案例
数据库·sql
Galeoto6 小时前
how to export a table in sqlite, and import into another
数据库·sqlite
希忘auto6 小时前
详解Redis在Centos上的安装
redis·centos
人间打气筒(Ada)6 小时前
MySQL主从架构
服务器·数据库·mysql