linuxde

准备工作
需要web环境
需要设置epel源

wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo

服务器端安装设置

yum install -y munin munin-node

设置配置文件

vim /etc/munin/munin.conf

配置说明:

dbdir /var/lib/munin

数据文件目录

htmldir /data/www/munin
web程序目录
logdir /var/log/munin
日志目录
rundir /var/run/munin
主程序目录

[server]
address 192.168.1.113
use_node_name yes
监控机名和地址

客户端安装设置

yum install -y munin-node

装好后在服务器端的配置文件中添加主机即可

vim /etc/munin/munin.conf
[web]
address 192.168.1.118
use_node_name yes

监控机名和地址

在/etc/munin/munin-node.conf允许监控添加服务器端的ip
格式

allow ^192\.168\.1\.113$
最后重启一边所有主机的munin-node

service munin-node restart

 

分类:

技术点:

相关文章:

  • 2021-10-27
  • 2021-06-30
  • 2021-05-07
  • 2021-11-30
  • 2021-12-23
  • 2021-06-21
  • 2021-10-19
猜你喜欢
  • 2021-12-23
  • 2022-01-12
  • 2021-07-21
  • 2021-04-22
  • 2021-05-01
  • 2021-11-28
相关资源
相似解决方案