I have made a php script witch create monitoring reports in PDF on the fly.
I use the FPDF library to do that.
To have this working, follow theses steps :
1) get FPDF lib
Download it from www.fpdf.org
unzip or untar in web directory, like /var/www/
2) get my script 'pdf_gen.php' (see attach file)
Copy it in the root directory of zabbix release, for exemple /var/www/html/zabbix
3) create a tmp directory and set correct rights (always in the same directory)
mkdir tmp
chown apache tmp
4) Edit the 'pdf_gen.php' script
set correct path to pdflib : require('<path.to.FPDF>/fpdf.php');
modify $ZABBIX, it must be <your.server>/<path.to.zabbix>
5) use it !
get id of a host group, for exemple 36 and go to :
http://<your.server>/<path.to.zabbix>/pdf_gen.php?grp=36
This generate a PDF witch contains errors and graphs for all hosts in the specified group.
You can specified several argument : interval, ... see source code.
Hope this scipt can help you ...
I use the FPDF library to do that.
To have this working, follow theses steps :
1) get FPDF lib
Download it from www.fpdf.org
unzip or untar in web directory, like /var/www/
2) get my script 'pdf_gen.php' (see attach file)
Copy it in the root directory of zabbix release, for exemple /var/www/html/zabbix
3) create a tmp directory and set correct rights (always in the same directory)
mkdir tmp
chown apache tmp
4) Edit the 'pdf_gen.php' script
set correct path to pdflib : require('<path.to.FPDF>/fpdf.php');
modify $ZABBIX, it must be <your.server>/<path.to.zabbix>
5) use it !
get id of a host group, for exemple 36 and go to :
http://<your.server>/<path.to.zabbix>/pdf_gen.php?grp=36
This generate a PDF witch contains errors and graphs for all hosts in the specified group.
You can specified several argument : interval, ... see source code.
Hope this scipt can help you ...

Comment