CentOS munin 서버 설치

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 yes
 
c. htpasswd 설정
[root@munin munin]# htpasswd /etc/munin/munin-htpasswd admin
 
d. 서비스 구동
[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분
 
4. 웹 서비스 접속
http://Munin-Server-IP/munin
  • 0 사용자에게 유용한 정보 제공
이 답변이 도움이 되었나요?
« Back

Powered by WHMCompleteSolution