Monitoraggio ZFS in Zabbix

From RVM Wiki
Revision as of 13:59, 4 October 2018 by Gabriele.vivinetto (talk | contribs) (Created page with "*Sul client, scaricare il file e scompattarlo cd /tmp wget "https://share.zabbix.com/index.php?option=com_mtree&task=att_download&link_id=350&cf_id=38 -= ZFSonLinux.zip unz...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Sul client, scaricare il file e scompattarlo
cd /tmp
wget "https://share.zabbix.com/index.php?option=com_mtree&task=att_download&link_id=350&cf_id=38 -= ZFSonLinux.zip
unzip ZFSonLinux.zip
cd ZFSonLinux
  • Installare i files
mv ZFSonLinux_sudo_rules /etc/sudoers.d/
mv  ZFSonLinux_userparameters.conf /etc/zabbix/zabbix_agentd.d/
  • Verificare se i comandi funzionano (DATA è il nome di un pool zfs presente):
sudo -u zabbix /usr/bin/sudo /sbin/zpool list -H -o health DATA
  • Riavviare zabbix_agent
systemctl restart zabbix-agent.service
  • Dal server o dal prozy zabbix, verificare che le keys siano supportate:
zabbix_get -s 192.168.1.10 -k zfs.zpool.health[DATA]
  • Importare il template ZFSonLinux_template.xml suls erver ed assegnare il template all'host
ZFSonLinux


Riferimenti