RadarURL
Skip to content
조회 수 1357 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

다른분이 작성하신 MRTG 세팅 게시물이 있지만 10년전 게시물이라...
따로 제가 호스팅 공유용으로 작성한 자료를 속성으로 작성합니다.


1. YUM 으로 MRTG 와 SNMP 데몬 설치

# yum install mrtg* net-snmp*


2. snmp 설정

# vi /etc/snmp/snmpd.conf
com2sec local     127.0.0.1/32    public
com2sec local     10.10.10.0/24   public
com2sec local     localhost       public
 
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
 
view    systemview    included   .1.3.6.1.2.1.1
view    systemview    included   .1.3.6.1.2.1.25.1.1
view all    included  .1                               80
 
access  notConfigGroup ""      any       noauth    exact  systemview none none
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none# /etc/init.d/snmpd start

3. MRTG 설정
# cfgmaker --global 'WorkDir: /var/www/mrtg/' --global 'Language: korean' --global 'Option[_]:bits,growright' -output /etc/mrtg/mrtg.cfg public@localhost
# indexmaker --title "A2B.SO First SERVER Status" --output /var/www/mrtg/index.html /etc/mrtg/mrtg.cfg

4. apache 설정
 
# vi /etc/httpd/conf.d/mrtg.conf
Allow from 127.0.0.1 을 Allow from All 로 변경
# /etc/init.d/httpd reload


출처 : https://www.xpressengine.com/tiptech_server/22708742

TAG •
?

List of Articles
번호 제목 글쓴이 날짜 조회 수
14 [CentOS] MRTG를 설치하여 서버의 대역폭을 기록하자 JAESOO 2014.12.26 1206
13 CentOS 5.0에 net-snmpd 설치 JAESOO 2014.12.26 1020
12 mrtg 2.16.2 yum 설치 문서 JAESOO 2014.12.26 886
11 Linux MRTG 설치 (yum install) JAESOO 2014.12.26 1009
» 웹서버 CentOS 6.5 MRTG 설치 JAESOO 2014.12.26 1357
9 Centos GeoIP 설치 JAESOO 2014.12.21 1010
8 Linux/NT XE 설치 시 안전한 폴더권한 설정하기 (chown 사용) JAESOO 2014.12.18 1041
7 CentOS 설치 후 설정 (package 추가, network 변경 등, vmware 설정 포함) JAESOO 2014.08.22 5713
6 CentOS nmon 설치하기 JAESOO 2014.05.29 1939
5 CentOS Samba 설치 및 설정 JAESOO 2014.05.26 1503
4 CentOS 에 APM 설치하기 JAESOO 2014.05.26 1297
3 CentOS X Window + Gnome Desktop 설치 JAESOO 2014.05.26 1517
2 [VMware] CentOS 6.5 설치 (64bit) - GUI(GNOME) JAESOO 2014.05.26 2083
1 sulinux APMtools 설치 위치 정리 JAESOO 2014.05.22 1599
Board Pagination Prev 1 Next
/ 1

PageViews   Today : 1571 Yesterday : 3868 Total : 22785172  /  Counter Status   Today : 889 Yesterday : 2110 Total : 1384155

Edited by JAESOO

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소