zabbix-zfs icon indicating copy to clipboard operation
zabbix-zfs copied to clipboard

Make zfs.py executable

Open kocio-pl opened this issue 3 years ago • 1 comments

Hi, Igor, thanks a lot for this tool!

My only problem is with Python script not being executable by default, which made monitoring not active until I made simple:

chmod +x /etc/zabbix/scripts/zfs.py

Could you fix it in the repo?

kocio-pl avatar Dec 31 '21 09:12 kocio-pl

Out of security concern you should go with this:

chmod 750 -R /etc/zabbix/scripts/ && \
chown root:zabbix -R /etc/zabbix/scripts/ && \
chmod 640 /etc/zabbix/zabbix_agentd.d/zfs.conf && \
chown root:zabbix /etc/zabbix/zabbix_agentd.d/zfs.conf

maufimauf avatar Mar 25 '22 15:03 maufimauf