Monitoraggio ZFS in Zabbix: Difference between revisions
Jump to navigation
Jump to search
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..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
*Sul client, scaricare il file e scompattarlo | *Sul client, scaricare il file e scompattarlo | ||
cd /tmp | cd /tmp && \ | ||
wget "https://share.zabbix.com/index.php?option=com_mtree&task=att_download&link_id=350&cf_id=38 - | wget "https://share.zabbix.com/index.php?option=com_mtree&task=att_download&link_id=350&cf_id=38" -O ZFSonLinux.zip && \ | ||
unzip ZFSonLinux.zip | unzip ZFSonLinux.zip && \ | ||
cd ZFSonLinux | cd ZFSonLinux | ||
Revision as of 15:18, 4 October 2018
- 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" -O 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