본문 바로가기
Computer/Server

[monitorix] 서버 리소스 확인 툴

by 생각하는달팽이 2015. 8. 28.

Centos 기준입니다.


1. RHEL 설정해주기 ( Repository 추가 )


First, you need to download the file using Wget and then install it using RPM on your system to enable the EPEL repository. Use below links based on your Linux OS versions. (Make sure you must be root user).

RHEL/CentOS 7 64 Bit

## RHEL/CentOS 7 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# rpm -ivh epel-release-7-5.noarch.rpm

RHEL/CentOS 6 32-64 Bit

## RHEL/CentOS 6 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

## RHEL/CentOS 6 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

RHEL/CentOS 5 32-64 Bit

## RHEL/CentOS 5 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

## RHEL/CentOS 5 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

RHEL/CentOS 4 32-64 Bit

## RHEL/CentOS 4 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm
# rpm -ivh epel-release-4-10.noarch.rpm

## RHEL/CentOS 4 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/4/x86_64/epel-release-4-10.noarch.rpm
# rpm -ivh epel-release-4-10.noarch.rpm



2. monitorix 설치 ! 아래 링크를 따라서 설치한다.

http://www.monitorix.org/doc-redhat.html



3. access 권한 부여


가장 먼저 /etc/monitorix/monitorix.conf 파일의 설정을 변경해줍니다.


=>    <httpd_builtin> 아래 <auth> enabled = y 로 처리해주십니다.


monitorix 는 crpyt() 알고리즘을 적용한 password 를 사용하므로


다음과 같이 생성을 합니다.

명령어 > admin 은 아이디입니다.


htpasswd -nd admin


생성된 녀석이 커맨드창에 보일겁니다. 이녀석을 /var/lib/monitorix/htpasswd 파일 안에 넣어줍니다.


이제 권한이 있는 사람만 접속 가능합니다



반응형

'Computer > Server' 카테고리의 다른 글

[Jenkins] Yosemite 10.10 에서 Jenkins설치시 유의점  (0) 2015.11.04
[Centos] 방화벽 포트 열기  (0) 2015.08.28
[NodeJs] Socket.io  (0) 2015.08.26
[Git] project 별 rsa 키 파일 설정시  (0) 2015.08.19
[Script] bash, shell  (0) 2015.08.07