Advertising:

Configuración de reportes - Zabbix Web Service: Difference between revisions

From Zabbix-ES
Jump to navigation Jump to search
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Documentacion adisional y URLs de interes==
'''Zabbix:''' https://www.zabbix.com/documentation/current/en/manual/concepts/web_service
'''Videos:''' https://www.youtube.com/watch?v=fcqMqBphuu4 https://www.youtube.com/watch?v=NaxBiPEqlbc
'''Errores conocidos:''' https://www.zabbix.com/documentation/current/en/manual/installation/known_issues#chromium-for-zabbix-web-service-on-ubuntu-20
'''Zabbix Latam''': https://assets.zabbix.com/files/events/meetup_es_20210527/Zabbix%205.4_Reportes_Spanish_Release_Day_zabbix_latam.pdf


==Instalamos el repositorio de zabbix==
# rpm -Uvh https://repo.zabbix.com/zabbix/5.5/rhel/8/x86_64/zabbix-release-5.5-1.el8.noarch.rpm
# dnf clean all


[[File:2022-01-31 16-45-08.jpg|200px|thumb|left|Administration > General > Other > Frontend URL]]
==Instalación del servicio de zabbix-web-service==
# dnf install zabbix-web-service
# systemctl enable --now zabbix-web-service
 
==Instalación de componentes adiciónales requeridos==
# dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
 
'''Nota:''' Instalamos la ultima versión estable de Chrome para Oracle Linux.
 
==Configuración del zabbix_server.conf==
===Standalone===
# vi /etc/zabbix/zabbix_server.conf
StartReportWriters=5
WebServiceURL=http://localhost:10053/report
 
===Docker===
ZBX_STARTREPORTWRITERS=5
ZBX_WEBSERVICEURL=http://zabbix-web-service:10053/report
 
==Configuración del zabbix_web_service.conf==
'''Ver:''' https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_web_service
 
# vi /etc/zabbix/zabbix_web_service.conf
# Nivel de debug
ZBX_DEBUGLEVEL=4
 
# IPs permitidas. Importante si utilizamos docker poner la red interna 172.16.0.0/16
ZBX_ALLOWEDIP=zabbix-server,zabbix-frontend
 
==Configurar el Zabbix Frontend==
[[File:2022-01-31 16-45-08.jpg|840px|thumb|center|Administration > General > Other > Frontend URL]]
[[File:2022-01-31 17-08-19.jpg|840px|thumb|center|xx]]
[[File:2022-01-31 17-08-36.jpg|840px|thumb|center|xx]]
 
==Seguridad User > Roles==
'''Scheduled reports UI element'''
Permitir ver scheduled reports
Accesible para usuarios Admin y SuperAdmin
 
==Seguridad en API==
'''Manage scheduled reports action'''
Permite crear y editar los reportes programados
Accesible para usuarios Admin y SuperAdmin
 
Si Manage scheduled reports action no esta marcado el usuario no podrá crear nuevos reportes o ver los existentes

Latest revision as of 12:51, 17 March 2022

Documentacion adisional y URLs de interes

Zabbix: https://www.zabbix.com/documentation/current/en/manual/concepts/web_service
Videos: https://www.youtube.com/watch?v=fcqMqBphuu4 https://www.youtube.com/watch?v=NaxBiPEqlbc
Errores conocidos: https://www.zabbix.com/documentation/current/en/manual/installation/known_issues#chromium-for-zabbix-web-service-on-ubuntu-20
Zabbix Latam: https://assets.zabbix.com/files/events/meetup_es_20210527/Zabbix%205.4_Reportes_Spanish_Release_Day_zabbix_latam.pdf

Instalamos el repositorio de zabbix

# rpm -Uvh https://repo.zabbix.com/zabbix/5.5/rhel/8/x86_64/zabbix-release-5.5-1.el8.noarch.rpm
# dnf clean all

Instalación del servicio de zabbix-web-service

# dnf install zabbix-web-service
# systemctl enable --now zabbix-web-service

Instalación de componentes adiciónales requeridos

# dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Nota: Instalamos la ultima versión estable de Chrome para Oracle Linux.

Configuración del zabbix_server.conf

Standalone

# vi /etc/zabbix/zabbix_server.conf
StartReportWriters=5
WebServiceURL=http://localhost:10053/report

Docker

ZBX_STARTREPORTWRITERS=5
ZBX_WEBSERVICEURL=http://zabbix-web-service:10053/report

Configuración del zabbix_web_service.conf

Ver: https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_web_service
# vi /etc/zabbix/zabbix_web_service.conf
# Nivel de debug
ZBX_DEBUGLEVEL=4
# IPs permitidas. Importante si utilizamos docker poner la red interna 172.16.0.0/16
ZBX_ALLOWEDIP=zabbix-server,zabbix-frontend

Configurar el Zabbix Frontend

Administration > General > Other > Frontend URL
xx
xx

Seguridad User > Roles

Scheduled reports UI element
Permitir ver scheduled reports
Accesible para usuarios Admin y SuperAdmin

Seguridad en API

Manage scheduled reports action
Permite crear y editar los reportes programados
Accesible para usuarios Admin y SuperAdmin
Si Manage scheduled reports action no esta marcado el usuario no podrá crear nuevos reportes o ver los existentes