YUMSERV
article thumbnail
Published 2021. 3. 28. 19:41
[Zabbix] pdf-report MONITORING
반응형

 

Zabbix의 값들과 그래프를 pdf 리포트 형태로 받는 방법을 설명하겠습니다.

 

$ git clone https://github.com/martinm76/zabbix-pdf-report /usr/share/zabbix/zabbix-pdf-report
$ cd /usr/share/zabbix/zabbix-pdf-report/
$ ./fixrights.sh

$ cp -arp config.inc.php.dist config.inc.php
$ vi config.inc.php
zabbix 버전에 맞게 수정
$zabbix_version = 5.2 ;

Timezone -> Seoul 로 변경
$timezone = 'Asia/Seoul';

pdf 나오는 로고도 변경이 가능합니다.
$pdf_logo = './images/general/zabbix.png';
$company_name = 'YourCompany Name';

$ service apache2 restart

# 에러) PHP 모듈 중, curl, json 모듈이 꼭 필요합니다. 없을 경우, 추가적으로 설치 진행하면 됩니다.
$ apt-get install php-curl php-json

 

 

http://serverip/zabbix/zabbix-pdf-report

이렇게 들어가면 아래와 같이 뜨게됩니다.

zabbix와 같이 로그인하게 되면, 호스트별로, 시간대 별로 PDF를 추출할 수 있습니다.

 

반응형

'MONITORING' 카테고리의 다른 글

[Uptime Kuma] 알림 설정  (0) 2022.08.22
[Uptime Kuma] 설치 및 사용  (0) 2022.08.19
[Zabbix] Zabbix-Server 5.2 소스 설치  (0) 2021.03.28
[Zabbix] Mysql DB 모니터링  (0) 2021.03.14
[Zabbix] telegram 연동  (0) 2021.03.14
profile

YUMSERV

@lena04301

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!