블로그 이미지
bedbmsguru

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
  • total
  • today
  • yesterday
2018. 8. 28. 11:27 Zabbix

http://yallalabs.com/linux/how-to-monitor-mysqlmariadb-using-zabbix-server/

posted by bedbmsguru
2018. 7. 5. 08:31 Zabbix

트리거 Flapping 방지


({TRIGGER.VALUE}=0 and {Template OS Windows2:perf_counter["\Processor Information(_Total)\% Processor Time",60].avg(#3)}>85)
or
({TRIGGER.VALUE}=1 and {Template OS Windows2:perf_counter["\Processor Information(_Total)\% Processor Time",60].avg(#3)}>65)



출처

https://blog.zabbix.com/no-more-flapping-define-triggers-the-smart-way/1488/



posted by bedbmsguru
2018. 7. 4. 13:32 Zabbix

Zabbix Proxy 구성중 "zabbix_proxy - cannot connect [13] permission denied" 에러가 발생할 경우


SElinux  설정으로 발생



아래 코드 실행 

getsebool -a | grep zabbix


아래와 같이 결과가 나오게 될경우 발생하는 문제임


httpd_can_connect_zabbix --> off

zabbix_can_network --> off



아래 command를 실행하여 해결

setsebool -P zabbix_can_network on



https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/41290-zabbix_proxy-cannot-connect-13-permission-denied

'Zabbix' 카테고리의 다른 글

zabbix로 mariadb, mysql 모니터링 적용  (0) 2018.08.28
zabbix Trigger Flapping 방지  (0) 2018.07.05
Agent 컴파일 하여 설치  (0) 2018.06.22
zabbix 최소 DATA만 백업 하는법  (0) 2018.01.29
zabbix 사용자 등록  (0) 2017.12.06
posted by bedbmsguru
2018. 6. 22. 15:09 Zabbix

IBM 장비에 Suse Linux를 설치하여 사용하는 시스템이 있다...


비싼IBM장비에 왜 Linux를...ㅡㅡ


해당머신에서 소스컴파일 하니 Agent 사용가능하다. Zabbix는 정말 안되는게 없는듯.!!


(1)Zabbix Source Download 

https://www.zabbix.com/download_sources



(2) 아래 메뉴얼 참고하여 컴파일 

https://github.com/linux-on-ibm-z/docs/wiki/Building-Zabbix-agent

posted by bedbmsguru
2018. 1. 29. 11:32 Zabbix


설정데이터만 백업하고 history 나 trends data는 table schema 만 백업


zabbix-mysql-dump 스크립트를 사용한다.



https://github.com/maxhq/zabbix-backup/wiki

posted by bedbmsguru
2017. 12. 6. 17:52 Zabbix

(1).Configuration--> HostGroups 에 신규그룹 추가


(2).Administrator --> UserGroups 신규그룹 추가

  Permissions 에 권한부여할 HostGroups 추가

  Windows 일경우 Discovered hosts에대한 read write권한 필요


(3).Administrator -->Users 신규사용자 추가 -->Media생성

   , Permissions --> User type은 zabbix Admin


(4).Configuration  --> Actions 추가

posted by bedbmsguru
2017. 11. 8. 15:08 Zabbix



zabbix는  서버에서 Host 등록을 하고 agent 설치를 진행한다.  Host에 등록하지 않고 모니터링 대상 서버를 등록하는 방법



1. Zabbix 서버 설정


Zabbix 서버의 메뉴 Configuration --> Actions -->Event Source -->Auto Registration(선택)


Create Action --> Condition(메뉴선택) Host metadata like Windows(윈도우일경우) -->Add


Operations(메뉴선택) --> Operation type --> Link to template 선택 -->적용할 template(Template OS Windows) 선택 --> Add

필요할 경우 

Operation type --> Add To Hostgroup으로 원하는 그룹에 등록 가능


  • Name: Windows host autoregistration
  • Conditions: Host metadata like Windows
  • Operations: Link to templates: Template OS Windows



 2. Zabbix Agent 설정


zabbix_agentd.conf 파일수정


(1) ServerActive=10.0.0.1 (zabbix 서버IP)

(2) HostMetadataItem=system.uname

HostMetadataItem 정보에 OS가  포함되어있음

Ex) 

Windows: Windows WIN-0PXGGSTYNHO 6.0.6001 Windows Server 2008 Service Pack 1 Intel IA-32

Linux: Linux server3 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686 GNU/Linux



아래메뉴얼 참고

https://www.zabbix.com/documentation/3.0/manual/discovery/auto_registration


posted by bedbmsguru
2016. 9. 30. 17:22 Zabbix

대부분의 페이지에서 한글이 잘 출력되나 그래프표시 영역에서 한글깨짐 현상 발생


그래프에서 사용하는 폰트를 한글 지원하는 폰트로 변경하면 해당현상 해결가능


아래의 위치에 폰트를 한글 지원하는 폰트로 변경


/usr/share/zabbix/fonts/graphfont.ttf 


posted by bedbmsguru