[Linux] munin ¼¹ö ¼³Ä¡
http://ehostidc.co.kr/center/EH050402.php?no=141511&page=7&choose=tit¡¦ (317)https://blog.naver.com/goethe1/221642889788 (317)
munin : OpenSource 서버 및 네트워크 모니터링
Server : CentOS 7.4
Client : CentOS 7.4 / CentOS 6.9
1. Munin Server 설치
a. 프로그램 설치
[root@munin munin]# yum install epel-release
[root@munin munin]# yum install httpd
[root@munin munin]# yum -y install munin munin-node
b. 환경 설정
[root@munin munin]# vi /etc/munin/munin.conf
# noti mail 설정
contact.someuser.command mail -s "Munin notification" support@ehostidc-co-kr# 모니터링 대상 서버 추가
[board-ehostidc-co-kr] # node_name : . _ 는 안넣기
address 192.168.100.7
use_node_name yesc. htpasswd 설정
[root@munin munin]# htpasswd /etc/munin/munin-htpasswd admind. 서비스 구동
[root@munin munin]# systemctl start httpd
2. Munin client 서버 설치
a. 프로그램 설치
[root@client munin]# yum install epel-release
[root@client munin]# yum -y install munin-node
b. 환경 설정
[root@client munin]# vi /etc/munin/munin-node.conf
# munin 서버 IP 설정
allow ^127.0.0.1$
allow ^192.168.100.3$
c. 프로그램 구동
[root@client munin]# systemctl start munin-node
3. munin 서비스 관련 설정
a. munin 서비스 포트 : TCP 4949
b. munin cron 경로 : /etc/cron.d/munin
#
# cron-jobs for munin
#MAILTO=root
* * * * * munin test -x /usr/bin/munin-cron && /usr/bin/munin-cron
# defult 5분 / 위 설정은 1분
c. windows munin-node 프로그램 :https://github.com/munin-monitoring/munin-node-win...
4. 웹 서비스 접속