ZabbixのPDFレポートが真っ白になってしまうとき

WebサーバにHSTS(強制https化)の設定が入っている場合は、外して再度試してみて下さい。

レポートのサイズが結構大きくなるので、postfix等のサイズ制限も増やしておくと良いと思います。

検索用ワード: zabbix pdf report blank empty 1KB


2022/01/11追記

やっぱりhttpsにしたい場合…

HSTS化したい時は次のような設定追加で行けるかも知れません…。

~# cat /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
    :
    :
    # リクエストの書き換えを行う
    RewriteEngine On
    # Zabbix内部からのアクセスについてはスキップ
    RewriteCond %{REMOTE_ADDR} ^127\.0\.0\.1$
    RewriteRule ^(.*)$ - [L]
    # それ以外の場合はhttpsに書き換え
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</VirtualHost>
~#

 

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny