RadarURL
Skip to content
조회 수 1006 추천 수 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
번호 제목 글쓴이 날짜 조회 수
» 웹서버 CentOS 6.5 MRTG 설치 JAESOO 2014.12.26 1006
Board Pagination Prev 1 Next
/ 1

PageViews   Today : 1160 Yesterday : 12383 Total : 21969595  /  Counter Status   Today : 1081 Yesterday : 11957 Total : 1195761

Edited by JAESOO

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소