This section provides instructions on installing Zabbix web service and configuring Zabbix to enable generation of scheduled reports.
Currently the support of scheduled reports is experimental.
A new Zabbix web service process and Google Chrome browser should be installed to enable generation of scheduled reports. The web service may be installed on the same machine where the Zabbix server is installed or on a different machine. Google Chrome browser should be installed on the same machine, where the web service is installed.
Para compilar o serviço web Zabbix a partir de fontes, veja Instalando os serviços web do Zabbix.
Após a instalação, execute zabbix_web_service na máquina onde o web service está instalado:
To ensure proper communication between all elements involved make sure server configuration file and frontend configuration parameters are properly configured.
The following parameters in Zabbix server configuration file need to be updated: WebServiceURL and StartReportWriters.
WebServiceURL
This parameter is required to enable communication with the web service. The URL should be in the format <host:port>/report
.
/report
path is mandatory (the path is hardcoded and cannot be changed).Example:
StartReportWriters
This parameter determines how many report writer processes should be started. If it is not set or equals 0, report generation is disabled. Based on the number and frequency of reports required, it is possible to enable from 1 to 100 report writer processes.
Example:
A Frontend URL parameter should be set to enable communication between Zabbix frontend and Zabbix web service:
Once the setup procedure is completed, you may want to configure and send a test report to make sure everything works correctly.
O pacote oficial zabbix-web-service está disponível no Zabbix repositório. O navegador Google Chrome não é incluído nesses pacotes e deve ser instalado separadamente.