変更可能です。
resinを停止し、以下【対応方法】を実施後、再び起動してください。
resinの停止・起動方法は以下ドキュメントをご参照ください。
■intra-mart Accel Platform セットアップガイド
6. Web Application Server の起動・停止
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/index.html
【対応方法】
Resinのhealth.xmlに、<health:PdfReport>という設定があります。
health.xmlは以下のパスに配置されています。
<Linuxのパス>
・デフォルトのインストールパスの場合
/etc/resin/health.xml
・インストールパスを指定した場合
%RESIN_HOME%/conf/health.xml
<Windowsのパス>
%RESIN_HOME%/conf/health.xml
当設定に、<log-directory>を追加することでPDFレポートを出力するディレクトリの設定が可能です。
なお、当ファイル更新後はresinの再起動が必要となります。
▼設定例(あくまで例となりますので、お客様のご要件等にあわせて設定してください。)
----------------------------------------------------------------------------------------------------------------------
<health:PdfReport>
<path>${resin.root}/doc/admin/pdf-gen.php</path>
<report>Summary</report>
<period>7D</period>
<log-directory>${resin.root}/pdf_report</log-directory>
<snapshot/>
<snapshot-jmx>${health_snapshot_jmx}</snapshot-jmx>
<mail-to>${email}</mail-to>
<mail-from>${email_from}</mail-from>
<!-- <profile-time>60s</profile-time> -->
<health:IfCron value="0 0 * * 0"/>
</health:PdfReport>
</resin:if>
<health:PdfReport>
<path>${resin.root}/doc/admin/pdf-gen.php</path>
<report>Restart</report>
<period>2h</period>
<mail-to>${email}</mail-to>
<mail-from>${email_from}</mail-from>
<log-directory>${resin.root}/pdf_report</log-directory>
<health:OnRestart/>
</health:PdfReport>
----------------------------------------------------------------------------------------------------------------------
詳細については、下記のドキュメントをご参照下さい。
■intra-mart Accel Platform 設定ファイルリファレンス
ヘルスアクション ― <health:PdfReport>
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/resin/health/health-check/actions.html#<health:pdfreport>
-- 対象 ------------------------------------------------------------------------
iAP/Accel Platform/全アップデート
--------------------------------------------------------------------------------
FAQID:1153
Resinのヘルス機能にて生成されるPDFレポートの出力パスを変更できますか?