I’m using Icinga2, icinga web2 on RHEL platform with apache as a webserver.
When im trying to export the host or services or any other information using Monitoring -> pdf option new tab is opening and getting below message . Im not seeing any errors in either icniga2 or icingaweb2 logs. However other exports json, csv are working as expected.
This page isn’t working
XXXXXXXX didn’t send any data.
ERR_EMPTY_RESPONSE
I tried updating the /library/Icinga/File/Pdf.php and library/Icinga/Web/Controller/ActionController.php files as per the patch 4044, still no luck. Also increased the memory limit in php.ini still no luck
Ensured PHP-mbstring module installed and in the icingaweb setup page all the pre-requisites met
There is no chrome requirement just for icingaweb2.
You are talking about the reporting module if I am not mistaken.
@krishna.rajapantula
I don’t have any systems running PHP 7.3, could this maybe be a “problem”?
On Ubuntu18 with PHP7.2 and CentOS7 with PHP7.1 it is working without problems
I have noticed this issue is because of my php installation mbstring extenstion loading along with zlib. I have reinstalled the php including zlib and extension mbstring.
Also i was having issue with php - imagemagick extenstion delegates with none. So i have installed with png, freetype, fontconfig delegate support
Now I could see pdf is trying to get exported but it is failing with status-“Failed-File incomplete”
General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2
Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var
Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
Icinga Web 2 Version
2.8.2
Git Commit
8a89839af94a247ee2149b2336c73b8251b477c0
PHP-Version
7.3.23-4+ubuntu18.04.1+deb.sury.org+1
Git Commit Datum
2020-08-17