Hi everyone, I'm new to zabbix, I was planning to use Grafana to generate report but only available in enterprise version, end up I use this plugin https://github.com/martinm76/zabbix-pdf-report
I have no idea what is the below problem



Did I miss out something ?
If the plugin not workable anymore, is there any other similar plugin or platform that could generate report ??
I have no idea what is the below problem
Did I miss out something ?
HTML Code:
<?php
//CONFIGURABLE
# zabbix server info(user must have API access)
$z_server = 'http://192.168.0.39/';
$user_login=1; // 1 will ask for credentials. 0 will use credentials below:
$z_user = 'Admin';
$z_pass = 'zabbix';
//$user_login=0; // If $user_login is 0, use credentials below and don't prompt$
$allow_localhost=1; // If a request is made from 127.0.0.1, use credentials bel$
$version = '1.1.1';
// What items would you like to see in the report? Things that do not match are$
$items = array('system information'=>'string','uptime'=>'seconds', 'boot time'=$
// Which items would you like to see overall statistics for over the selected p$
$trends = array('ICMP ping'=>'updown','ICMP loss'=>'number', 'ICMP response'=>'$
$showdates = false; // Prepend date and time on items and trends, or leave it o$
//$showdates = true; // Prepend date and time on items and trends, or leave it $
// Would you like to limit what graphs are displayed? Enter partial matches (or$
// $mygraphs = '#.*#'; // Match all graphs
$mygraphs = '#(Ping|CPU load|CPU usage|CPU util|processor|Disk space|Swap|Ether$
$myitemgraphs = '#(Utilization of|farm connection|Average Latency|Number of pro$
# Temporary directory for storing pdf data and graphs - must exist
$z_tmp_path = './tmp';
# Directory for storing PDF reports
$pdf_report_dir = './reports';
# Root URL to reports
#$pdf_report_url = $z_server ."report/reports";
$pdf_report_url = "./reports";
# paper settings
$paper_format = 'A4'; // formats supported: 4A0, 2A0, A0 -> A10, B0 -> B10, C$
$paper_orientation = 'portrait'; // formats supported: portrait / landscape
# time zone - see http://php.net/manual/en/timezones.php
$timezone = 'Asia/Singapore';
# Logo used in PDF - may be empty
# TODO: Specify image size!
$pdf_logo = './images/general/zabbix.png';
$company_name = 'YourCompany Name';
//DO NOT CHANGE BELOW THIS LINE
$z_tmp_cookies = "/tmp/";
$z_url_index = $z_server ."index.php";
$z_url_graph = $z_server ."chart2.php";
$z_item_graph = $z_server ."chart.php";
$z_url_api = $z_server ."api_jsonrpc.php";
$z_login_data = "name=" .$z_user ."&password=" .$z_pass ."&autologin=1&enter=$
?>
If the plugin not workable anymore, is there any other similar plugin or platform that could generate report ??
Comment