Ad Widget

Collapse

Zabbix Reporting - this is still not working - Please can anyone help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eebc-ict-netman
    Junior Member
    • May 2022
    • 14

    #1

    Zabbix Reporting - this is still not working - Please can anyone help

    Hi All,

    I am currently using Zabbix 6.0.30, everything is working and gathering data.
    it is on Ubuntu 20.04.6 LTS

    I tried to Install the reporting module using the following.
    14 Setting up scheduled reports (zabbix.com)

    then I got stuck with any error (below)

    Cannot fetch data: chrome failed to start.
    cmd_run.go:1046:WARNING: cannot create user data directory: cannot create "/var/lib/zabbixsnap/chromium/2623: mkdir /var/lib/zabbix/snap/chromium: permission denied
    /system.slice/zabbix-web-service is not a snap group



    then I followed what was detailed below.
    Home directories outside of '/home' | Snapcraft documentation

    this did not help and was still unable to run any scheduled reports.

    I have just updated the OS to the last release (shown above)
    now when I try to run a test scheduled report I now get this error on screen (below)

    Report generating test failed
    - cannot fetch data: chrome failed to start
    - cannot create mount point /tmp/snap.rootfs_KKKPNa//var/lib/zabbix/snap/: read-only file system
    - .



    I am thinking it is something to do with the Snapcraft documentation, but I was not expecting this to fail after an update.

    I am hoping someone can help me with this, I like the product, but we will have to replace with another product, if I am unable to get reporting working.

    alternatively has reporting been fixed in a later version that I can upgrade to directly from my current version of Zabbix?
    Attached Files
  • eebc-ict-netman
    Junior Member
    • May 2022
    • 14

    #2
    I have also now tried the following
    Uninstalling Google Chrome

    then installing Chromium

    restart the zabbix_web_service

    and then try running the report again
    error now (below) - from zabbix_web_service.log

    received report request from 127.0.0.1:5900
    cannot fetch data: chrome failed to start: cannot create mount point /tmp/snap.rootfs_AvTGK2//var/lib/zabbix/snap: Read-only file system


    just looking at the folder and it has the correct permissions for /var/lib/zabbix/snap

    drwxrwxrwx 4 zabbix zabbix 4096 Aug 24 2023 chromium
    Last edited by eebc-ict-netman; 29-05-2024, 13:13.

    Comment

    • eebc-ict-netman
      Junior Member
      • May 2022
      • 14

      #3
      well I went back to the drawing board, and created a new zabbix instance, and restore the DB, it seems there is something fundamentally wrong with my build.

      I am now planning a migration to this new server as soon as is practical.

      Comment

      Working...