meta data for this page
Zabbix
rights to check free space
active check "vfs.fs.inode[/root/.cache/duplicity,pfree]" is not supported: Cannot obtain filesystem information: [13] Permission denied active check "vfs.fs.size[/home/git-data/repositories/+gitaly/PackObjectsCache,pused]" is not supported: Cannot obtain filesystem information: [13] Permission denied
Investigate access right:
sudo -u zabbix /bin/bash
Solution:
apt install acl setfacl -m u:zabbix:x /root setfacl -m u:zabbix:x /root/.cache setfacl -m u:zabbix:x /home/git-data setfacl -m u:zabbix:x /home/git-data/repositories setfacl -m u:zabbix:x /home/git-data/repositories/+gitaly
NOTE: gitlab-ctl reconfigure will change permissions to default.
Disable Link down trigger
- Configuration โ> Hosts
- Type into filter fields:
- Hosts:
C3560GandC3560G-2 - Name:
Link down - Severity:
Average - Status:
Enabled
- And change to
disabledwanted port triggers
password recovery
USE zabbix; UPDATE users SET passwd=md5('newpassword') WHERE alias='Admin';
Enable problem reporting
Configurationโ>Actions- Select from pull down menu
Trigger actions - enable
Report problems to Zabbix administrators
Enable autoregistration
Configurationโ>Actions- Select from pull down menu
Autoregistration actions Create Action- Name:
autoregister - Switch to
Operationstab- Add
Operations:Add hostAdd to host groupDiscovered hosts
Link to templateLinux by Zabbix agent
Server=127.0.0.1 ServerActive=127.0.0.1 #Hostname=Zabbix Server HostnameItem=system.hostname