기술노트
[Windows] Nagios Window 서버 client 등록 | |
---|---|
작성자 : 관리자(jieun@ehostidc.co.kr) 작성일 : 2018-07-13 조회수 : 4361 | |
윈도우 서버에 대한 모니터링 진행 방법 테스트 윈도우 : Windows 2008 R2
2. 프로그램 설치
- Nagios Server IP 입력 - common plugins check - NRPE check - nsclient check ![]()
3. 프로그램 구동
![]()
4. 서비스 포트
NRPE : 5666 nsclient : 12489 5. Nagios Server 설정
a. windows.cfg 설정 [root@nagios objects]# vi /etc/nagios/objects/windows.cfg define host{
use windows-server ; Inherit default values from a template host_name winserver ; The name we're giving to this host alias My Windows Server ; A longer name associated with the host address IP_address ; IP address of the host } b. nagios.cfg 설정 추가
[root@nagios objects]# vi /etc/nagios/nagios.cfg cfg_file=/etc/nagios/objects/windows.cfg
c. nagios 설정 확인 및 서비스 재시작
[root@nagios objects]# nagios -v /etc/nagios/nagios.cfg d. 모니터링 확인
cf. 해당 내용은 간략 설정으로 정식 사용시에는 hostgroup 등록 및 host 개별 등록 필요
|
|
이전글 | [Linux] ubuntu 16.04에 java 1.8, tomcat8, apache2.4, mysql 5.7 설치 |
다음글 | [Linux] Nagios 설치-1 |