Ad Widget

Collapse

Регулярные отчеты zabbix 7.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Popov.K.V
    Member
    • Mar 2019
    • 84

    #1

    Регулярные отчеты zabbix 7.2

    Добрый день!

    Пытаюсь настроить регулярные отчеты в zabbix 7.2, при нажатии на кнопку "тест" выходит ошибка

    ДеталиОшибка при генерировании отчета.
    • Cannot fetch data.: chrome failed to start: /system.slice/zabbix-web-service.service is not a snap cgroup.

    подскажите как настроить?




    ● zabbix-web-service.service - Zabbix Web Service
    Loaded: loaded (/usr/lib/systemd/system/zabbix-web-service.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/zabbix-web-service.service.d
    └─override.conf
    Active: active (running) since Fri 2025-02-28 12:13:38 +05; 2h 31min ago
    Main PID: 1663372 (zabbix_web_serv)
    Tasks: 8 (limit: 11846)
    Memory: 2.2M (peak: 10.9M)
    CPU: 127ms
    CGroup: /system.slice/zabbix-web-service.service
    └─1663372 /usr/sbin/zabbix_web_service -c /etc/zabbix/zabbix_web_service.conf

    Feb 28 12:13:38 zabbixtnspluskz systemd[1]: Started zabbix-web-service.service - Zabbix Web Service.



    конфиг файл:
    ############ GENERAL PARAMETERS #################

    ### Option: LogType
    # Specifies where log messages are written to:
    # system - syslog
    # file - file specified with LogFile parameter
    # console - standard output
    #
    # Mandatory: no
    # Default:
    # LogType=file

    ### Option: LogFile
    # Log file name for LogType 'file' parameter.
    #
    # Mandatory: yes, if LogType is set to file, otherwise no
    # Default:
    # LogFile=/tmp/zabbix_web_service.log

    LogFile=/var/log/zabbix/zabbix_web_service.log

    ### Option: LogFileSize
    # Maximum size of log file in MB.
    # 0 - disable automatic log rotation.
    #
    # Mandatory: no
    # Range: 0-1024
    # Default:
    # LogFileSize=1

    LogFileSize=0

    ### Option: DebugLevel
    # Specifies debug level:
    # 0 - basic information about starting and stopping of Zabbix processes
    # 1 - critical information
    # 2 - error information
    # 3 - warnings
    # 4 - for debugging (produces lots of information)
    # 5 - extended debugging (produces even more information)
    #
    # Mandatory: no
    # Range: 0-5
    # Default:
    DebugLevel=3
    ​### Option: AllowedIP
    # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
    # Incoming connections will be accepted only from the hosts listed here.
    # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
    # and '::/0' will allow any IPv4 or IPv6 address.
    # '0.0.0.0/0' can be used to allow any IPv4 address.
    # Example: AllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
    #
    # Mandatory: yes
    # Default:
    # AllowedIP=

    AllowedIP=0.0.0.0/0

    ### Option: ListenPort
    # Service will listen on this port for connections from the server.
    #
    # Mandatory: no
    # Range: 1024-32767
    # Default:
    ListenPort=10053

    ### Option: Timeout
    # Spend no more than Timeout seconds on formatting dashboard as PDF
    #
    # Mandatory: no
    # Range: 1-30
    # Default:
    Timeout=30

    ### Option: TLSAccept
    # What incoming connections to accept.
    # Specifies what type of connection to use:
    # unencrypted - accept connections without encryption
    # cert - accept connections secured with TLS and a certificate
    #
    # Mandatory: no
    # Default:
    # TLSAccept=unencrypted
    ​### Option: TLSCAFile
    # Full pathname of a file containing the top-level CA(s) certificates for
    # peer certificate verification.
    #
    # Mandatory: no
    # Default:
    # TLSCAFile=

    ### Option: TLSCertFile
    # Full pathname of a file containing the service certificate or certificate chain.
    #
    # Mandatory: no
    # Default:
    # TLSCertFile=

    ### Option: TLSKeyFile
    # Full pathname of a file containing the service private key.
    #
    # Mandatory: no
    # Default:
    # TLSKeyFile=

    ### Option: IgnoreURLCertErrors
    # Ignore TLS certificate errors when accessing Frontend URL
    # 0 - do not ignore
    # 1 - ignore
    #
    # Mandatory: no
    # Default:
    # IgnoreURLCertErrors=0


  • Pochinok
    Senior Member
    • Oct 2024
    • 114

    #2
    а логи можете показать?
    и путь конфигурации Zabbix Web Service (zabbix_web_service.conf) правильно указан путь к браузеру ?
    Установлен ли вообще Chrome
    [Report]
    BrowserPath=/usr/bin/google-chrome путь такой указан?
    доп зависимости для работы установлены?
    С другим браузером проверяли?
    а вообще логи бы глянуть Web Service
    Last edited by Pochinok; 07-03-2025, 04:07.

    Comment

    Working...