Hi,
I've followed the official instructions: https://www.zabbix.com/documentation...l/web_service:
Than the problems begun.
The first problem was:
Cannot fetch data: chrome failed to start: /system.slice/zabbix-web-service.service is not a snap cgroup .
As sugested in other posts I manually created /home/zabbix and mounted /var/lib/zabbix there with 'mount --bind /var/lib/zabbix /home/zabbix'
I then edited /etc/passwd to make sure the zabbix user home pointed to /home/zabbix
Still have permission problems.
Than, as suggested here:
I've executed: sudo loginctl enable-linger zabbix, to keep zabbix user logged in.
Now I have this message:
Details
Report generating test failed.
Cannot fetch data.: chrome failed to start:
cmd_run.go:1276: WARNING: cannot create user data directory: cannot create snap home dir: mkdir /home/zabbix/snap: permission denied
cannot update snap namespace: cannot expand mount entry (none $HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-dir=$HOME 0 0): cannot use invalid home directory "/home/zabbix": permission denied
snap-update-ns failed with code 1.
Thanks for any help
I've followed the official instructions: https://www.zabbix.com/documentation...l/web_service:
- Installed google chrome
- Iin Zabbix server configuration file, updated the WebServiceURL and StartReportWriters
- Administration → General → Other parameters frontend menu section: Specify the full URL of the Zabbix web interface in the Frontend URL parameter
- After the installation, run zabbix_web_service
- Checked that service is running
Than the problems begun.
The first problem was:
Cannot fetch data: chrome failed to start: /system.slice/zabbix-web-service.service is not a snap cgroup .
As sugested in other posts I manually created /home/zabbix and mounted /var/lib/zabbix there with 'mount --bind /var/lib/zabbix /home/zabbix'
I then edited /etc/passwd to make sure the zabbix user home pointed to /home/zabbix
Still have permission problems.
Than, as suggested here:
I've executed: sudo loginctl enable-linger zabbix, to keep zabbix user logged in.
Now I have this message:
Details
Report generating test failed.
Cannot fetch data.: chrome failed to start:
cmd_run.go:1276: WARNING: cannot create user data directory: cannot create snap home dir: mkdir /home/zabbix/snap: permission denied
cannot update snap namespace: cannot expand mount entry (none $HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-dir=$HOME 0 0): cannot use invalid home directory "/home/zabbix": permission denied
snap-update-ns failed with code 1.
Thanks for any help
Comment