Hi all,
I've installed a fresh zabbix server now. I installed Zabbix 4.4 on ubuntu 18.04.
I would like to generate PDF report So
I would like to generate PDF report So
I did this:
- clone :
clone https://github.com/catonrug/zabbix-pdf-report.git to /usr/share/
-copy and edit:
cp config.inc.php.dist config.inc.php
vi config.inc.php
In the configuration i changed
#the server Ip
#The Login
# the passwd
-create tmp and reports folders
./fixrights.sh
-give the rights
chmod 777 tmp reports
-copy
cp /usr/share/zabbix-pdf-report/zabbix-pdf-report.conf /etc/apache2/conf-available/
-linked
ln -s /etc/apache2/conf-available/zabbix-pdf-report.conf /etc/apache2/conf-enabled
-restart apache2
service apache2 restart
-Disable SELinux
setenforce 0
after all this I was not able to get the UI so,
I -i've copy the zabbix-pdf-report folder to /var/www/html/
and linked with:
-ln /var/html/zabbix-pdf-report/zabbix-pdf-report.conf /etc/apache2/conf-enabled
Then the http://my ip/zabbix-pdf-report/ shows only the Login page.
When I put the credentials, I got this
CURL URL: http://my_Ip/zabbix/api_jsonrpc.php
CURL Options: Array ( [19913] => 1 [13] => 30 [78] => 5 [81] => [64] => [52] => 1 [74] => 1 [10023] => Array ( [0] => Content-Type: application/json-rpc [1] => User-Agent: ZabbixAPI v1.0 - http://andrewfarley.com/zabbix_php_api ) [10036] => POST [10015] => {"auth":null,"method":"user.login","id":1,"para ms" :{"password":"","user":""},"jsonrpc":"2.0"} [10102] => gzip ) Got response from API: ( Not Found
Comment